Implement Torch API in client

This commit is contained in:
John Gross
2016-12-24 15:51:18 -08:00
parent 2695cda5fa
commit 81037b502a
14 changed files with 140 additions and 163 deletions

View File

@@ -7,11 +7,11 @@ namespace Torch.Client
{
public static void Main(string[] args)
{
var game = new GameInitializer(args);
var client = new TorchClient();
try
{
game.TryInit();
client.Init();
}
catch (Exception e)
{
@@ -19,7 +19,7 @@ namespace Torch.Client
return;
}
game.RunGame();
client.Start();
}
}
}