public void ToTarget(ActorTarget target) { _target = target; _bodyMode = BodyMode.actor; _aimMode = AimMode.actor; _hasBodyAim = true; _hasAim = true; _isTurningSlowly = false; }
/// <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; }