コード例 #1
0
        public override void CopyMembers(BaseSkillRequirement Copy)
        {
            DistanceToEnemyRequirement NewRequirement = (DistanceToEnemyRequirement)Copy;

            _DistanceToEnemy  = NewRequirement._DistanceToEnemy;
            _IncludeDiagonals = NewRequirement._IncludeDiagonals;
        }
コード例 #2
0
        public override BaseSkillRequirement Copy()
        {
            DistanceToEnemyRequirement NewSkillEffect = new DistanceToEnemyRequirement(Context);

            NewSkillEffect._DistanceToEnemy  = _DistanceToEnemy;
            NewSkillEffect._IncludeDiagonals = _IncludeDiagonals;

            return(NewSkillEffect);
        }