Rename to Torch, add command system
This commit is contained in:
25
Torch.Client/Program.cs
Normal file
25
Torch.Client/Program.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Windows;
|
||||
|
||||
namespace Torch.Client
|
||||
{
|
||||
public static class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
var game = new GameInitializer(args);
|
||||
|
||||
try
|
||||
{
|
||||
game.TryInit();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
MessageBox.Show($"Torch encountered an error trying to initialize the game.\n{e.Message}");
|
||||
return;
|
||||
}
|
||||
|
||||
game.RunGame();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user