private void InputCommandStream() { UIMessages.InputCommandStreamMessage(); string inputCommandStream = Console.ReadLine(); inputDataBuffer.AddCommandStream(inputCommandStream); }
private void InputSizeOfArena() { UIMessages.InputSizeOfArenaMessage(); string inputSizeOfArena = Console.ReadLine(); inputDataBuffer.SetSizeOfArena(inputSizeOfArena); }
private bool InputInitialPositionAndOrientation() { bool keepAddingRobots = true; UIMessages.InputInitialPositionAndOrientationMessage(); string inputInitPositionAndOrientation = Console.ReadLine(); if (inputInitPositionAndOrientation == "") { keepAddingRobots = false; } else { inputDataBuffer.AddInitialPositionAndOrientation(inputInitPositionAndOrientation); } return(keepAddingRobots); }
public void Run() { UIMessages.OpeningMessage(); InputSizeOfArena(); InputRobotsData(); }