1
0
Fork 0
This repository has been archived on 2019-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Galactic_Colors_Control/Galactic Colors Control GUI/Program.cs

40 lines
1.0 KiB
C#
Raw Normal View History

using Galactic_Colors_Control_Common;
using System;
2016-10-10 14:37:58 +00:00
namespace Galactic_Colors_Control_GUI
{
/// <summary>
/// The main class.
/// </summary>
public static class Program
{
public static bool _dev = false;
public static bool _debug = false;
2016-10-10 14:37:58 +00:00
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
private static void Main(string[] args)
2016-10-10 14:37:58 +00:00
{
if (args.Length > 0)
{
switch (args[0])
{
case "--debug":
_debug = true;
break;
case "--dev":
_dev = true;
break;
default:
Common.ConsoleWrite("Use --debug or --dev");
break;
}
}
2016-11-14 14:09:44 +00:00
using (var game = new Game())
2016-10-10 14:37:58 +00:00
game.Run();
}
}
}