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