public override void CopyMembers(BaseSkillRequirement Copy) { RelationshipRequirement NewRequirement = (RelationshipRequirement)Copy; _DistanceToEnemy = NewRequirement._DistanceToEnemy; _IncludeDiagonals = NewRequirement._IncludeDiagonals; _CharacterName = NewRequirement._CharacterName; }
public override BaseSkillRequirement Copy() { RelationshipRequirement NewSkillEffect = new RelationshipRequirement(Context); NewSkillEffect._DistanceToEnemy = _DistanceToEnemy; NewSkillEffect._IncludeDiagonals = _IncludeDiagonals; NewSkillEffect._CharacterName = _CharacterName; return(NewSkillEffect); }