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

            _DistanceToTravel = NewRequirement._DistanceToTravel;
            _MaxExecutions    = NewRequirement._MaxExecutions;
            _Delay            = NewRequirement._Delay;
        }
コード例 #2
0
        public override BaseSkillRequirement Copy()
        {
            DistanceTravelledRequirement NewSkillEffect = new DistanceTravelledRequirement(GlobalContext);

            NewSkillEffect._DistanceToTravel = _DistanceToTravel;
            NewSkillEffect._MaxExecutions    = _MaxExecutions;
            NewSkillEffect._Delay            = _Delay;

            return(NewSkillEffect);
        }