Beispiel #1
0
        public override void LoadContent()
        {
            if (content == null)
                content = new ContentManager(ScreenManager.Game.Services, "Content");

            player = new Player(3);
            LoadLevels();
            ball = new Ball(content);
            paddle = new Paddle(content);
            LoadNextLevel();
            hud = new Hud(content, currentLevel.Name, player.Lives, player.Score);

            base.LoadContent();
        }