home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 164
/
MOBICLIC164.ISO
/
pc
/
DATA
/
SCI164
/
SCI164_00
/
SCI164_00.swf
/
scripts
/
SCI150_00.as
< prev
Wrap
Text File
|
2014-05-13
|
1KB
|
49 lines
package
{
import com.milanpresse.capsule.GameEngineCapsule;
import com.milanpresse.engineaddons.facades.GameEngine;
import sci150_00.CapsuleAlgo;
public class SCI150_00 extends GameEngineCapsule
{
private var game:GameEngine;
private var algo:CapsuleAlgo = null;
public function SCI150_00()
{
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();
}
}
}