gmtk-gj-2020/Game.cs

22 lines
521 B
C#
Raw Normal View History

using SkinnerBox.States;
using SkinnerBox.Utilities;
using SlatedGameToolkit.Framework;
using SlatedGameToolkit.Framework.Logging;
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 = 40;
Logger.AddLogListener(new ConsoleLogger());
GameEngine.Ignite(new MenuState());
}
}
}