Esempio n. 1
0
 public static void GoToPostBattle()
 {
     if (_state != Battle)
         throw new GameImplementationException("Cannot go to Post-Battle state except from Battle state");
     PostBattle = new PostBattleState(Battle);
     SwitchState(PostBattle);
 }
Esempio n. 2
0
 public static void GoToPostBattle()
 {
     if (_state != Battle)
     {
         throw new GameImplementationException("Cannot go to Post-Battle state except from Battle state");
     }
     PostBattle = new PostBattleState(Battle);
     SwitchState(PostBattle);
 }