Пример #1
0
        void LevelEngineRenewed(object sender)
        {
            _levelEngine.Renew <Level>(new Levels.Level1() /*,
                                                            *  //new Levels.Level2(),
                                                            * // new Levels.Level3()*/);

            _levelEngine.CurrentIndex = 0;

            Level.Player.Revive();
            Level.Player = Player = new Player();

            _menuEngine.GetElement <Menus.LevelHolder>().ConnectPlayer();
        }
Пример #2
0
 private void LevelHolderShown(object sender)
 {
     _levelEngine.Renew();
     _levelEngine.Show(0);
 }