private void ApplyPlace(GameState game) { TakPiece piece; if (Piece == TakPiece.PieceType.Capstone) { game[PieceColor].NumCapstones--; piece = new Capstone(PieceColor); } else { game[PieceColor].NumPieces--; piece = new TakPiece(PieceColor) { IsWall = Piece == TakPiece.PieceType.Wall }; } game.Board[Row, Column].Place(piece); }
public Capstone(Capstone src) : base(src) { }