public ChessPiece(int x, int y, EnumChessPieceColor color, EnumChessPieceType type) { SetPosition(x, y); this.Color = color; this.Type = type; this.IsCaptured = false; }
public Rook(int x, int y, EnumChessPieceColor color, EnumChessPieceType type) : base(x, y, color, type) { }
public King(int x, int y, EnumChessPieceColor color, EnumChessPieceType type) : base(x, y, color, type) { this.HasMoved = false; }