コード例 #1
0
        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);
        }
コード例 #2
0
 void StatesInit()
 {
     PreProcessStateController.Register();
     InitStateController.Register();
     LoginStateController.Register();
     NoticeStateController.Register();
     MainMenuStateController.Register();
     PreBattleStateController.Register();
     BattleStateController.Register();
     PostBattleStateController.Register();
     InTransitionStateController.Register();
     CriticalErrorStateController.Register();
     ExitFinalizeStateController.Register();
 }