Exemplo n.º 1
0
        private void EntityList_OnEntityAdded(Entity entity)
        {
            MinimapIcon icon = this.GetIcon(entity);

            if (icon != null)
            {
                this.AddIcon(icon);
            }
        }
Exemplo n.º 2
0
 public void AddIcon(MinimapIcon icon)
 {
     this.icons[(int)icon.RenderPriority].Add(icon);
 }