protected override void OnSubModuleUnloaded()
 {
     ModuleLogger.Writer.WriteLine("BattleTestSubModule::OnSubModuleUnloaded");
     ModuleLogger.Writer.Close();
     BattleTestSubModule._instance = (BattleTestSubModule)null;
     base.OnSubModuleUnloaded();
 }
 protected override void OnSubModuleLoad()
 {
     base.OnSubModuleLoad();
     ModuleLogger.Writer.WriteLine("BattleTestSubModule::OnSubModuleLoad");
     BattleTestSubModule._instance = this;
     Module.CurrentModule.AddInitialStateOption(new InitialStateOption(
                                                    "battletest",
                                                    new TextObject("{=battletest}Battle Test", (Dictionary <string, TextObject>)null),
                                                    10001,
                                                    () => ScreenManager.PushScreen(new BattleTestScreen()),
                                                    false
                                                    ));
 }