public void addIcons(List<GameObject> iconList, GameRuleSelector sourceSelector)
 {
     sourceSelector.addIcons(iconList);
     iconList.Add(GameRuleEvent.getEventIcon(eventType));
     if (targetType == typeof(FieldObject))
         addFieldObjectIcon(param, iconList);
     else
         GameRuleSourceSelector.selectorIdentifier(targetType, sourceSelector).addIcons(iconList);
 }
Esempio n. 2
0
 public GameRuleDesignComponentSelectorDescriptor(GameRuleSelector sd)
     : base(null, 0, null)
 {
     List<GameObject> iconList = new List<GameObject>();
     sd.addIcons(iconList);
     displayIcon = iconList[0];
     selectorDescribed = sd;
 }