コード例 #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;
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: ColAlexandra/CodeCoolQuest
 static void Main()
 {
     using var game = new CodecoolQuestGame();
     game.Run();
 }