Commit 5d453df
Changed files (2)
product
project
product/project/NASA.cs
@@ -1,5 +1,3 @@
-using System;
-
namespace mars.rover
{
public class NASA
@@ -10,7 +8,7 @@ namespace mars.rover
public virtual Rover deploy_rover_to(int x_coordinate, int y_coordinate, Heading heading)
{
- return new Rover(new Position(x_coordinate,y_coordinate,heading));
+ return new Rover(x_coordinate, y_coordinate, heading);
}
}
}
\ No newline at end of file
product/project/project.csproj
@@ -48,6 +48,7 @@
<Compile Include="Command.cs" />
<Compile Include="CommandLineArgument.cs" />
<Compile Include="Heading.cs" />
+ <Compile Include="Headings.cs" />
<Compile Include="NASA.cs" />
<Compile Include="ParameterizedCommand.cs" />
<Compile Include="Position.cs" />