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(); }
private void LevelHolderShown(object sender) { _levelEngine.Renew(); _levelEngine.Show(0); }