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

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