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

  1. class Enemy_1 extends Enemy
  2. {
  3.    var numLife;
  4.    var numSpeed;
  5.    var arrEvents;
  6.    function Enemy_1()
  7.    {
  8.       super();
  9.    }
  10.    function ConfigureEnemy()
  11.    {
  12.       this.numLife = 2;
  13.       this.numSpeed = 2;
  14.       this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles",values:Array(5,10)});
  15.       this.arrEvents.push({name:"Enemy Hit",triggerValue:-1,hit:false,custom:false,action:"EVENT_Bubbles",values:Array(1,0)});
  16.    }
  17. }
  18.