/* Determined by: * - Side (Black / White) * - Direction of travel (Up / Down / In both directions (king)) * - Combined position (Position on the screen, size on the screen, position on the board) */ public BaseChecker(CheckerSide side, CheckerMoveDirection direction, CheckersCoordinateSet position) { this.Side = side; this.Position = position; this.ZOrder = 1; this.Direction = direction; }
public Pawn(CheckerSide side, CheckerMoveDirection direction, CheckersCoordinateSet position) : base(side, direction, position) { this.TurnRange = 1; // Only walks 1 cell }