示例#1
0
        } // Initialize

        protected override void LoadContent()
        {
            clock       = new Clock(12, 0, 0, Content);
            background  = Content.Load <Texture2D>("stars");
            spriteBatch = new SpriteBatch(GraphicsDevice);
            spritefont  = Content.Load <SpriteFont>("SpriteFont");

            planets  = new Planets(Content, graphics);
            pendulum = new Pendulum(Content);
        } // LoadContent
示例#2
0
        protected override void LoadContent()
        {
            clock = new Clock(12, 0, 0, Content);
            background = Content.Load<Texture2D>("stars");
            spriteBatch = new SpriteBatch(GraphicsDevice);
            spritefont = Content.Load<SpriteFont>("SpriteFont");

            planets = new Planets(Content, graphics);
            pendulum = new Pendulum(Content);
        }