home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Acao / bubble_tanks_2.swf / scripts / __Packages / Enemy_7.as < prev    next >
Encoding:
Text File  |  2008-09-02  |  868 b   |  22 lines

  1. class Enemy_7 extends Enemy
  2. {
  3.    var numLife;
  4.    var numSpeed;
  5.    var arrEvents;
  6.    var guns;
  7.    function Enemy_7()
  8.    {
  9.       super();
  10.    }
  11.    function ConfigureEnemy()
  12.    {
  13.       this.numLife = 20;
  14.       this.numSpeed = 3;
  15.       this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles",values:Array(3,6)});
  16.       this.arrEvents.push({name:"Drops Gun",triggerValue:19,hit:false,custom:false,action:"EVENT_DropGun",values:"gun_2"});
  17.       this.arrEvents.push({name:"Enemy Split",triggerValue:19,hit:false,custom:false,action:"EVENT_Spawn",values:Array("Enemy_8",1)});
  18.       this.guns.push({name:"gun_1",type:1,fireTimerMax:60,fireTimerMin:40,counter:60,speed:5,size:100,damage:2});
  19.       this.guns.push({name:"gun_2",type:1,fireTimerMax:60,fireTimerMin:40,counter:80,speed:5,size:100,damage:2});
  20.    }
  21. }
  22.