Beispiel #1
0
 /**
  * Called when this piece gets captured
  */
 public void Capture()
 {
     // TODO: Move off to the side of the board
     // For now, we'll just destroy the piece
     Destroy(gameObject);
     _board.GetTile(Rank, File).Occupant = null;
     _board.CapturePiece(Color);
 }