Beispiel #1
0
 void menu_OnMenuChange(object sender, EventArgs e)
 {
     XmlManager<Menu> xmlMenuManager = new XmlManager<Menu>();
     menu.UnloadContent();
     menu = xmlMenuManager.Load(menu.ID);
     menu.LoadContent();
     menu.OnMenuChange += menu_OnMenuChange;
     menu.Transition(0.0f);
 }
Beispiel #2
0
 public MenuManager()
 {
     menu = new Menu();
     menu.OnMenuChange += menu_OnMenuChange;
        // isTransistioning = false;
 }