public override void CopyMembers(BaseSkillRequirement Copy) { DistanceTravelledRequirement NewRequirement = (DistanceTravelledRequirement)Copy; _DistanceToTravel = NewRequirement._DistanceToTravel; _MaxExecutions = NewRequirement._MaxExecutions; _Delay = NewRequirement._Delay; }
public override BaseSkillRequirement Copy() { DistanceTravelledRequirement NewSkillEffect = new DistanceTravelledRequirement(GlobalContext); NewSkillEffect._DistanceToTravel = _DistanceToTravel; NewSkillEffect._MaxExecutions = _MaxExecutions; NewSkillEffect._Delay = _Delay; return(NewSkillEffect); }