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.
2016-11-15 17:54:13 +00:00
|
|
|
|
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
|
|
|
|
|
{
|
2016-11-15 17:54:13 +00:00
|
|
|
|
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]
|
2016-11-15 17:54:13 +00:00
|
|
|
|
private static void Main(string[] args)
|
2016-10-10 14:37:58 +00:00
|
|
|
|
{
|
2016-11-15 17:54:13 +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();
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-11-12 11:33:10 +00:00
|
|
|
|
}
|