public Checker(ePlayerColor i_Color, SquarePosition i_Position, eCheckerType i_Type = eCheckerType.Soldier) { m_Type = i_Type; m_Color = i_Color; m_Position = i_Position; m_PossibleMoves = new List <Move>(4); // maximum possible moves for one checker (when king) }
public Move(SquarePosition i_Start, SquarePosition i_End) { m_Start = i_Start; m_End = i_End; }
//copy constructor public SquarePosition(SquarePosition i_squarePosition) { m_x = i_squarePosition.X; m_y = i_squarePosition.Y; }