private void EntityList_OnEntityAdded(Entity entity) { MinimapIcon icon = this.GetIcon(entity); if (icon != null) { this.AddIcon(icon); } }
public void AddIcon(MinimapIcon icon) { this.icons[(int)icon.RenderPriority].Add(icon); }