2020-07-12 18:26:32 +00:00
|
|
|
|
using SlatedGameToolkit.Framework;
|
2020-07-11 23:43:47 +00:00
|
|
|
|
using SlatedGameToolkit.Framework.Logging;
|
2020-07-12 18:26:32 +00:00
|
|
|
|
using WebsiteSim.States;
|
|
|
|
|
using WebsiteSim.Utilities;
|
2020-07-11 19:02:52 +00:00
|
|
|
|
|
2020-07-12 18:26:32 +00:00
|
|
|
|
namespace WebsiteSim
|
2020-07-11 19:02:52 +00:00
|
|
|
|
{
|
|
|
|
|
class Game
|
|
|
|
|
{
|
|
|
|
|
public const int WIDTH_UNITS = 8;
|
|
|
|
|
public const int HEIGHT_UNITS = 8;
|
|
|
|
|
static void Main(string[] args)
|
|
|
|
|
{
|
2020-07-12 18:26:32 +00:00
|
|
|
|
GameEngine.targetFPS = 120;
|
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());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|