public void AddMenuItem( string name, EntryType type, GameScreen screen ) { var entry = new MenuEntry ( this, name, type, screen ); _menuEntries.Add ( entry ); }
public void AddLevelItem( LevelBase level, Texture2D preview ) { var entry = new MenuEntry ( this, level.GetTitle (), EntryType.Screen, level, preview ); _menuEntries.Add ( entry ); }