home *** CD-ROM | disk | FTP | other *** search
- class Enemy_5 extends Enemy
- {
- var numLife;
- var numSpeed;
- var arrEvents;
- var guns;
- function Enemy_5()
- {
- super();
- }
- function ConfigureEnemy()
- {
- this.numLife = 10;
- this.numSpeed = 3;
- this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles",values:Array(5,10)});
- this.arrEvents.push({name:"Drops Gun",triggerValue:3,hit:false,custom:false,action:"EVENT_DropGun",values:"gun_1"});
- this.arrEvents.push({name:"Increase Speed",triggerValue:3,hit:false,custom:false,action:"EVENT_SpeedChange",values:5});
- this.guns.push({name:"gun_1",type:1,fireTimerMax:60,fireTimerMin:40,counter:60,speed:7,size:100,damage:1});
- }
- }
-