示例#1
0
        private void EntityList_OnEntityAdded(Entity entity)
        {
            MinimapIcon icon = this.GetIcon(entity);

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