private void ActionKeyMappingOpenGameMenu(object sender, ActionTriggeredEventArgs e)
        {
            GameMenuScreen menuScreen = new GameMenuScreen();

            menuScreen.Initialize(this.Manager);
            menuScreen.Show();
        }
Exemplo n.º 2
0
 public Game()
 {
     Mcharacter        = new MainCharacter();
     finished          = false;
     font18            = new Font("data/fonts/Joystix.ttf", 18);
     Groom             = new Room();
     rand              = new Random();
     Steps             = rand.Next(randMin, randMax);
     Time              = 0;
     countTimer        = 0;
     AverageEnemyLevel = 6;
     CanFight          = true;
     gm = new GameMenuScreen();
 }