Пример #1
0
        public Demo()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            Window.Title    = "XNA 4.0 Earth Demo";
            IsMouseVisible  = true;
            IsFixedTimeStep = false;

            starfieldComponent = new StarfieldComponent(this);
            Components.Add(starfieldComponent);
        }
Пример #2
0
        public Demo()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            Window.Title = "XNA 4.0 Earth Demo";
            IsMouseVisible = true;
            IsFixedTimeStep = false;

            starfieldComponent = new StarfieldComponent(this);
            Components.Add(starfieldComponent);
        }