2020-07-12 04:19:50 +00:00
|
|
|
|
using SkinnerBox.States;
|
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;
|
2020-07-12 04:19:50 +00:00
|
|
|
|
GameEngine.UpdatesPerSecond = 40;
|
2020-07-11 23:43:47 +00:00
|
|
|
|
Logger.AddLogListener(new ConsoleLogger());
|
2020-07-11 19:02:52 +00:00
|
|
|
|
GameEngine.Ignite(new MenuState());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|