home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 173
/
MOBICLIC173.ISO
/
mac
/
Milan.swf
/
scripts
/
launcher.as
Wrap
Text File
|
2015-03-24
|
2KB
|
75 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();
stage;
}
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;
}
public function get activeModuleObj() : *
{
return this.algo.activeModuleObj;
}
}
}