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