Beispiel #1
0
 public void AddMenuItem(string name, EntryType type, GameScreen screen)
 {
     MenuEntry entry = new MenuEntry(this, name, type, screen);
     _menuEntries.Add(entry);
 }
Beispiel #2
0
 public void AddLevelMenuItem(string name, EntryType type, GameScreen screen, PhysicsGameScreen physicsscreen)
 {
     MenuEntry entry = new MenuEntry(this, name, type, screen,_menuItemBackground, physicsscreen);
     _menuEntries.Add(entry);
 }