public CodecoolQuestGame() { GameSingleton = this; using var graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; Window.AllowUserResizing = true; IsMouseVisible = true; // graphics.PreferredBackBufferWidth = 1280; // graphics.PreferredBackBufferHeight = 720; // graphics.ApplyChanges(); _lastMoveTime = TimeSpan.Zero; }
static void Main() { using var game = new CodecoolQuestGame(); game.Run(); }