public static MainMenuStateController Register() { MainMenuStateController retV = new MainMenuStateController(); StateController.Register(GameState.MainMenu, retV, true); retV.AddTransition((uint)GameState.PreBattle, GameState.PreBattle); retV.AddTransition((uint)GameState.InTransition, GameState.InTransition); return(retV); }
void StatesInit() { PreProcessStateController.Register(); InitStateController.Register(); LoginStateController.Register(); NoticeStateController.Register(); MainMenuStateController.Register(); PreBattleStateController.Register(); BattleStateController.Register(); PostBattleStateController.Register(); InTransitionStateController.Register(); CriticalErrorStateController.Register(); ExitFinalizeStateController.Register(); }