protected override void OnSubModuleLoad() { base.OnSubModuleLoad(); EnhancedBattleTestSubModule.Instance = this; /* * Module.CurrentModule.AddInitialStateOption(new InitialStateOption("EBTMultiplayerTest", * new TextObject("{=EnhancedBattleTest_multiplayerbattleoption}Multiplayer Battle Test"), 3, * () => * { * IsMultiplayer = true; * MBGameManager.StartNewGame(new EnhancedBattleTestGameManager<MultiplayerGame>()); * }, false)); */ Module.CurrentModule.AddInitialStateOption(new InitialStateOption("EBTSingleplayerTest", new TextObject("{=EnhancedBattleTest_singleplayerbattleoption}Singleplayer Battle Test"), 3, () => { IsMultiplayer = false; MBGameManager.StartNewGame(new EnhancedBattleTestSingleplayerGameManager()); }, () => false)); }
protected override void OnSubModuleUnloaded() { EnhancedBattleTestSubModule.Instance = (EnhancedBattleTestSubModule)null; base.OnSubModuleUnloaded(); }