Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 static void Main()
 {
     using var game = new CodecoolQuestGame();
     game.Run();
 }