Exemplo n.º 1
0
        //Load width/height, load the scoreboard, set up the managers.
        protected override void LoadContent()
        {
            spriteBatch = new SpriteBatch(GraphicsDevice);

            width = graphics.GraphicsDevice.Viewport.Width;
            height = graphics.GraphicsDevice.Viewport.Height;

            GraphicalObject.main = this;

            highScore = new HighScoreClass(Content);

            highScore.LoadScores();
            highScore.SetScores();

            gameManager = new GameManager(width, height, Content);
            menuManager = new MenuManager(width, height, Content);
            scoreManager = new ScoreManager(highScore, Content);

            //highScore.NewScore(100000, "Someone");
        }