home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 174
/
MOBICLIC174.ISO
/
mac
/
DATA
/
SCI174
/
SCI174_00
/
SCI174_00.swf
/
scripts
/
SCI150_00.as
< prev
Wrap
Text File
|
2015-04-27
|
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(callback:Function) : void
{
this.game = new GameEngine(this);
this.game.mainAlgo = new CapsuleAlgo(this.game);
callback();
}
override public function start(itemParams: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();
}
}
}