示例#1
0
 protected TargetedMovementGenerator(Unit target, float offset = 0, float angle = 0)
 {
     _target = new FollowerReference();
     _target.Link(target, this);
     _timer             = new TimeTracker();
     _offset            = offset;
     _angle             = angle;
     _recalculateTravel = false;
     _targetReached     = false;
 }
示例#2
0
 protected TargetedMovementGeneratorMedium(Unit _target, float _offset = 0, float _angle = 0)
 {
     Reftarget = new FollowerReference();
     Reftarget.Link(_target, this);
     recheckDistance   = new TimeTrackerSmall();
     offset            = _offset;
     angle             = _angle;
     recalculateTravel = false;
     targetReached     = false;
 }