public Pieces(Color color, Point currentPosition, ChessPieceSymbol type) { this.PieceType = type; this.PieceColor = color; this.CurrentPosition = currentPosition; this.ListOfMoves = new List <Move>(); }
public Pieces(Point currentPosition, Color color, bool hasBeenMoved, ChessPieceSymbol type) { this.PieceType = type; this.PieceColor = color; this.CurrentPosition = currentPosition; this.hasBeenMoved = false; this.ListOfMoves = new List <Move>(); }
public Pawn(Color color, Point CurrentPosition, bool HasbeenMoved, ChessPieceSymbol type = ChessPieceSymbol.Pawn) : base(CurrentPosition, color, HasbeenMoved, type) { this.Value = 20; }
public King(Color color, Point CurrentPosition, ChessPieceSymbol type = ChessPieceSymbol.King) : base(color, CurrentPosition, type) { this.Value = 0; }
public Rook(Color color, Point CurrentPosition, bool hasBeenMoved, ChessPieceSymbol type = ChessPieceSymbol.Rook) : base(color, CurrentPosition, type) { this.Value = 70; }
public Bishop(Color color, Point CurrentPosition, ChessPieceSymbol type = ChessPieceSymbol.Bishop) : base(color, CurrentPosition, type) { this.Value = 50; }
public Horse(Color color, Point CurrentPosition, ChessPieceSymbol type = ChessPieceSymbol.Horse) : base(color, CurrentPosition, type) { this.Value = 60; }
public Queen(Color color, Point CurrentPosition, ChessPieceSymbol type = ChessPieceSymbol.Queen) : base(color, CurrentPosition, type) { this.Value = 100; }