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

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