Ejemplo n.º 1
0
 /// <summary>
 /// Hides the specified menu entry.
 /// </summary>
 private void HideEntry(MenuEntry entry)
 {
     _visibleEntries.Remove(entry);
     _entriesSprite.Remove(entry.Sprite);
 }
Ejemplo n.º 2
0
 /// <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);
 }