예제 #1
0
        public static CheckersGameStep CreateCheckersGameStep(Point i_currentSoldierPosition, Point i_requestedSoldierPosition, bool i_ToQuit = false)
        {
            CheckersGameStep result = new CheckersGameStep();

            result.CurrentPosition   = i_currentSoldierPosition;
            result.RequestedPosition = i_requestedSoldierPosition;
            result.MoveTypeInfo      = MoveType.CalculateMoveType(result);
            result.m_quitIndicator   = i_ToQuit;

            return(result);
        }