Example #1
0
 //Get a random **possibly invalid** selection for this type of target (currently used for a simple AI with a randomized script of selections)
 public virtual object GetRandomSelectable()
 {
     return(LibRandom.GetRandomElementOfList <object>(GetSelectableUniverse().ToList()));
 }
Example #2
0
 public override object GetRandomSelectable()
 {
     return(LibRandom.GetRandomElementOfList <SkillType.SkillTypeInfo>(GetAdaptableSkills()).type);
 }