public TargetDirections DirectionType;      // direction for cone and dest targets

        public StaticTargetData(TargetObjects objectType, TargetReferences referenceType,
                                TargetSelections selectionCategory, TargetChecks selectionCheckType, TargetDirections directionType)
        {
            ObjectType         = objectType;
            ReferenceType      = referenceType;
            SelectionCategory  = selectionCategory;
            SelectionCheckType = selectionCheckType;
            DirectionType      = directionType;
        }
示例#2
0
 public object Clone()
 {
     return(new Skill()
     {
         Id = Id,
         Name = Name,
         Image = Image,
         Description = Description,
         LaunchScript = LaunchScript,
         IsActive = IsActive,
         IsDefendable = IsDefendable,
         Probability = Probability,
         TotalCount = TotalCount,
         Duration = Duration,
         CoolDown = CoolDown,
         TargetSelections = TargetSelections.ToList()
     });
 }