Example #1
0
 public Menu(ContentManager Content, SpriteBatch SpriteBatch, Text Text)
 {
     content = Content;
     sprite = SpriteBatch;
     text = Text;
     scoreLoaded = false;
 }
Example #2
0
        protected override void LoadContent()
        {
            spriteBatch = new SpriteBatch(GraphicsDevice);
            font = Content.Load<SpriteFont>(@"Fonts/Arial");
            text = new Text(font, spriteBatch);

            menu = new Menu(Content, spriteBatch, text);
            level = new Level(Content, spriteBatch);

            menu.loadMainMenuStart();
            GlobalVars.currentState = GlobalVars.gameState.mainMenuStart;
            menu.loadMainMenuHighscore();
            menu.loadHighscoreMenuTerug();
            menu.loadCaracterMenuKies();
            menu.loadCaracterMenuTerug();
            menu.loadMoeilijkheidMenuKiesEasy();
            menu.loadMoeilijkheidMenuKiesHard();
            menu.loadMoeilijkheidMenuKiesMedium();
            menu.loadMoeilijkheidMenuTerugEasy();
            menu.loadMoeilijkheidMenuTerugHard();
            menu.loadMoeilijkheidMenuTerugMedium();
        }