home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 164 / MOBICLIC164.ISO / pc / DATA / ENG164 / ENG164_00 / ENG164_00.swf / scripts / ENG164_00.as
Text File  |  2014-05-13  |  793b  |  39 lines

  1. package
  2. {
  3.    import com.milanpresse.capsule.GameEngineCapsule;
  4.    import eng164_00.CapsuleAlgo;
  5.    
  6.    public class ENG164_00 extends GameEngineCapsule
  7.    {
  8.        
  9.       
  10.       private var algo:CapsuleAlgo = null;
  11.       
  12.       public function ENG164_00()
  13.       {
  14.          super();
  15.       }
  16.       
  17.       override public function start(itemParams:Object = null) : void
  18.       {
  19.          this.algo = new CapsuleAlgo(engine);
  20.       }
  21.       
  22.       override public function destroy() : void
  23.       {
  24.          this.algo.destroy();
  25.          super.destroy();
  26.       }
  27.       
  28.       override public function sleep() : void
  29.       {
  30.          this.algo.sleep();
  31.       }
  32.       
  33.       override public function wake() : void
  34.       {
  35.          this.algo.wake();
  36.       }
  37.    }
  38. }
  39.