public static void InitializeConditions() { MarsGrid = null; RobotId = 0; PositionInput = null; InputRobots.Clear(); }
private void InitializeConditions() { MarsGrid = null; PlainInput.Grid_XCoordinate = string.Empty; PlainInput.Grid_YCoordinate = string.Empty; PlainInput.RobotInstructionList = string.Empty; PlainInput.RobotPosition_Orientation = string.Empty; PlainInput.RobotPosition_XCoordinate = string.Empty; PlainInput.RobotPosition_YCoordinate = string.Empty; RobotId = 0; PositionInput = null; InputRobots.Clear(); RobotsProcessedOutputs.Clear(); LogMessages.Clear(); }