예제 #1
0
파일: Game.cs 프로젝트: JonyErez/B18-Ex02
 public void                    EndTurn()
 {
     m_WasPieceEaten = false;
     m_PieceToMove   = null;
     m_PlayerTurn    = OtherPlayer();
 }
예제 #2
0
파일: Game.cs 프로젝트: JonyErez/B18-Ex02
 private void                    eatPiece(GamePiece i_EatenPiece)
 {
     m_Players[OtherPlayer()].RemoveGamePiece(i_EatenPiece);
     m_Board.Board[i_EatenPiece.Location.Y, i_EatenPiece.Location.X] = null;
 }