home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 159
/
MOBICLIC159.ISO
/
mac
/
DATA
/
DSS159
/
DSS159_01
/
DSS159_01.swf
/
scripts
/
DSS159_01.as
Wrap
Text File
|
2013-11-19
|
1KB
|
50 lines
package
{
import com.milanpresse.capsule.AbstractMenuCapsule;
import dss159_01.CapsuleAlgo;
import dss159_01.engineaddons.facades.GameEngine;
public class DSS159_01 extends AbstractMenuCapsule
{
private var game:GameEngine;
private var algo:CapsuleAlgo = null;
public function DSS159_01()
{
super();
}
public function onEngineInitialized(param1:Function) : void
{
this.game = new GameEngine(this);
this.game.mainAlgo = new CapsuleAlgo(this.game);
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();
this.game.mainAlgo.wake2();
}
}
}