コード例 #1
0
ファイル: Game.cs プロジェクト: Grutn/TDT4240-X2
        public Game()
        {
            Serializing.GenereateModels();

            Content.RootDirectory = "Content";
            IsMouseVisible        = !true;
            graphics = new GraphicsDeviceManager(this);
            graphics.PreferredBackBufferWidth  = Constants.WindowWidth;
            graphics.PreferredBackBufferHeight = Constants.WindowHeight;
            graphics.IsFullScreen = Constants.FullScreen;

            ConvertUnits.SetDisplayUnitToSimUnitRatio(64f);
            Components.Add(new ScreenManager(this));
        }