home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 155
/
MOBICLIC155.ISO
/
mac
/
DATA
/
DSS155
/
DSS155_01
/
MOD149_00.swf
/
scripts
/
MOD149_00.as
Wrap
Text File
|
2013-07-08
|
1KB
|
51 lines
package
{
import com.milanpresse.capsule.GameEngineCapsuleInternEngine;
import com.milanpresse.engineaddons.facades.GameEngine;
import mod149_00.MainAlgo;
public class MOD149_00 extends GameEngineCapsuleInternEngine
{
private var _e:GameEngine;
private var mainAlgo:MainAlgo;
public function MOD149_00()
{
super();
}
public function onEngineInitialized(callback:Function) : void
{
this._e = new GameEngine(this);
this.mainAlgo = new MainAlgo(this._e);
callback();
}
override public function start(itemParams:Object = null) : void
{
this._e.framerate = 12;
this._e.playMusic({"code":"MU"});
this.mainAlgo.start();
}
override public function destroy() : void
{
this.mainAlgo.destroy();
super.destroy();
}
override public function sleep() : void
{
this.mainAlgo.sleep();
}
override public function wake() : void
{
this.mainAlgo.wake();
}
}
}