RAIN.Motion.Acceleration.SB_Flee Class Reference

SB_Flee is a steering behavior that attempts to move the AI away from a target at maximum acceleration. More...

Inheritance diagram for RAIN.Motion.Acceleration.SB_Flee:
RAIN.Motion.Acceleration.SteeringBehavior

List of all members.

Public Member Functions

 SB_Flee ()
 Default constructor.
override Steering Steer (Kinematic agent, Kinematic target)
 See SteeringBehavior.

Detailed Description

SB_Flee is a steering behavior that attempts to move the AI away from a target at maximum acceleration.


Constructor & Destructor Documentation

RAIN.Motion.Acceleration.SB_Flee.SB_Flee ( )

Default constructor.


Member Function Documentation

override Steering RAIN.Motion.Acceleration.SB_Flee.Steer ( Kinematic  agent,
Kinematic  target 
) [virtual]

See SteeringBehavior.

Parameters:
agent
target
Returns:

Reimplemented from RAIN.Motion.Acceleration.SteeringBehavior.