示例#1
0
 public void AddMainMenuItem(string name, GameScreen screen, bool isExitItem)
 {
     MenuEntry entry = new MenuEntry(name, screen, isExitItem);
     _mainMenuItems.Add(_id++, entry);
     MenuEntries.Add(entry);
 }