public void RemovePiece(GamePiece piece) //Emptey slot { _gameBoard[piece.Position.Row, piece.Position.Column] = null; piece.IsDead = true; }
public void MovePiece(GamePiece piece, Position position) //Move piece, Make slot emptey after movment, Place piece in new spot { _gameBoard[piece.Position.Row, piece.Position.Column] = null; _gameBoard[position.Row, position.Column] = piece; piece.Position = position; }