Exemplo n.º 1
0
 public static void Main(string[] args)
 {
     DisplayCommand("****** Welcome to Mars Rovers command center ******");
     command = new MarsRoversCommandCenter();
     GetCoOridnatesOfMarsPlateu();
     GetTotalNumberOfRovers();
     SendCommandsToRovers();
     DisplayCommand("****** Current Position Of Rovers ********");
     DisplayCommand(MarsRoverParser.GetMarsRoverPositions(command.Execute()));
     Console.ReadLine();
 }
 public void InitializeTheVariables()
 {
     this.marsRoverCommandCenter = new MarsRoversCommandCenter();
     this.marsRoverCommandCenter.CreateMarsPlateu(new MarsPlateuSizeParser("5 5"));
 }