home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 161
/
MOBICLIC161.ISO
/
pc
/
DATA
/
HOTE
/
launcher_as3
/
bin
/
launcher.swf
/
scripts
/
launcher.as
< prev
Wrap
Text File
|
2014-01-15
|
2KB
|
69 lines
package
{
import com.milanpresse.capsule.GameEngineCapsule;
import flash.system.ApplicationDomain;
public class launcher extends GameEngineCapsule
{
private var algo = null;
public var changeModule:Function = null;
public var hostConfig = null;
public var configXMLPath:String = "launcher_config.xml";
public function launcher()
{
isHost = true;
super();
}
override public function start(param1:Object = null) : void
{
var _loc2_:Class = ApplicationDomain.currentDomain.getDefinition("com.milanpresse.launcher.CapsuleAlgo") as Class;
this.algo = new _loc2_(this);
}
override public function destroy() : void
{
this.algo.destroy();
}
override public function sleep() : void
{
}
override public function wake() : void
{
}
public function get musicOn() : Boolean
{
return this.algo.musicOn;
}
public function set musicOn(param1:Boolean) : void
{
this.algo.musicOn = param1;
}
public function get subtitlesOn() : Boolean
{
return this.algo.subtitlesOn;
}
public function set subtitlesOn(param1:Boolean) : void
{
this.algo.subtitlesOn = param1;
}
public function get activeModule() : *
{
return this.algo.activeModule;
}
}
}