/// <summary> /// Hides the specified menu entry. /// </summary> private void HideEntry(MenuEntry entry) { _visibleEntries.Remove(entry); _entriesSprite.Remove(entry.Sprite); }
/// <summary> /// Shows the specified menu entry at a specific position. /// </summary> private void ShowEntry(MenuEntry entry, int position) { _visibleEntries.Insert(position, entry); _entriesSprite.Add(entry.Sprite); }