示例#1
0
文件: Player.cs 项目: Zeplar/Splendor
 public void takeAction(Move m)
 {
     if (GameController.currentPlayer == this)
     {
         movesTaken[(int)m.moveType]++;
         m.takeAction();
     }
     else throw new Exception(this + " tried to take its turn out of order!");
 }