pushing for zac

This commit is contained in:
Brady Bodily
2020-12-10 14:35:10 -07:00
parent 31a4309a47
commit 1cdf498800
19 changed files with 236 additions and 129 deletions

View File

@@ -4,9 +4,35 @@ namespace ConsoleApp
{
class Program
{
private static UserConsole _userConsole;
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
_userConsole = new UserConsole();
StartSimulation();
}
private static void StartSimulation()
{
_userConsole.PrintStartMenu();
var input = _userConsole.GetUserInput();
if (input == "1")
{
var (x,y) = _userConsole.GetMapDimensions();
RunSimulation(x, y);
}
else
{
_userConsole.PrintInvalidInput();
StartSimulation();
}
}
private static void RunSimulation(int x,int y)
{
var bootStrapper = new Bootstrapper
var simRunner = new SimRunner();
}
}
}