2020-07-11 22:09:33 +00:00
|
|
|
|
using SkinnerBox.States.Main;
|
2020-07-11 23:43:47 +00:00
|
|
|
|
using SkinnerBox.Utilities;
|
2020-07-11 19:02:52 +00:00
|
|
|
|
using SlatedGameToolkit.Framework;
|
2020-07-11 23:43:47 +00:00
|
|
|
|
using SlatedGameToolkit.Framework.Logging;
|
2020-07-11 19:02:52 +00:00
|
|
|
|
|
|
|
|
|
namespace SkinnerBox
|
|
|
|
|
{
|
|
|
|
|
class Game
|
|
|
|
|
{
|
|
|
|
|
public const int WIDTH_UNITS = 8;
|
|
|
|
|
public const int HEIGHT_UNITS = 8;
|
|
|
|
|
static void Main(string[] args)
|
|
|
|
|
{
|
|
|
|
|
GameEngine.targetFPS = 0;
|
|
|
|
|
GameEngine.UpdatesPerSecond = 20;
|
2020-07-11 23:43:47 +00:00
|
|
|
|
Logger.AddLogListener(new ConsoleLogger());
|
2020-07-11 19:02:52 +00:00
|
|
|
|
GameEngine.Ignite(new MenuState());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|