コード例 #1
0
ファイル: Game.cs プロジェクト: skinitimski/Reverence
 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);
 }
コード例 #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);
 }