home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 162
/
MOBICLIC162.ISO
/
mac
/
DATA
/
GAM162
/
GAM162_00
/
GAM162_00.swf
/
scripts
/
GAM162_00.as
Wrap
Text File
|
2014-02-17
|
1KB
|
49 lines
package
{
import com.milanpresse.capsule.AbstractMenuCapsule;
import gam162_00.CapsuleAlgo;
import gam162_00.engineaddons.facades.GameEngine;
public class GAM162_00 extends AbstractMenuCapsule
{
private var game:GameEngine;
private var algo:CapsuleAlgo = null;
public function GAM162_00()
{
super();
}
public function onEngineInitialized(param1:Function) : void
{
this.game = new GameEngine(this);
this.game.mainAlgo = new CapsuleAlgo();
param1();
}
override public function start(param1:Object = null) : void
{
this.game.start();
}
override public function destroy() : void
{
this.game.destroy();
super.destroy();
}
override public function sleep() : void
{
this.game.sleep();
}
override public function wake() : void
{
this.game.wake();
}
}
}