Example #1
0
 public void ToTarget(ActorTarget target)
 {
     _target          = target;
     _bodyMode        = BodyMode.actor;
     _aimMode         = AimMode.actor;
     _hasBodyAim      = true;
     _hasAim          = true;
     _isTurningSlowly = false;
 }
Example #2
0
 /// <summary>
 /// Told by the brains to aim the gun at a target actor.
 /// </summary>
 public void ToTarget(ActorTarget target)
 {
     _aim = target.Position + target.RelativeStandingTopPosition;
     _isAimingAtAPosition = true;
 }