예제 #1
0
 public bool MakeMoveTo(BoardCoord destination)
 {
     if (chessGame.AssertContainsCoord(destination))
     {
         SetBoardPosition(destination);
         gameObject.transform.position = destination;
         MoveCount++;
         return(true);
     }
     return(false);
 }