Exemple #1
0
        public PassedState GetAndClearPassedState()
        {
            PassedState returnState;

            returnState         = mCurrentPassedState;
            mCurrentPassedState = null;
            return(returnState);
        }
Exemple #2
0
        public StateManager()
        {
            mCardPool        = null;
            mDefaultDeckSpec = null;

            mCurrentGameScene     = GameScene.MainMenu;
            mCurrentPassedState   = null;
            mCurrentMapState      = null;
            mCurrentCardGameState = null;
            mCurrentSaveDesc      = new SaveDescription();
            mCurrentSaveDesc.slot = Assets.GameCode.Saves.SaveSlot.None;
        }
Exemple #3
0
 public void SetPassedState(PassedState theState)
 {
     mCurrentPassedState = theState;
 }