#include <ArActionConstantVelocity.h>
Inheritance diagram for ArActionConstantVelocity:

Public Member Functions | |
| ArActionConstantVelocity (const char *name="Constant Velocity", double velocity=400) | |
| Constructor. | |
| virtual ArActionDesired * | fire (ArActionDesired currentDesired) |
| Fires the action, returning what the action wants to do. | |
| virtual ArActionDesired * | getDesired (void) |
| Gets what this action wants to do (for display purposes). | |
| virtual | ~ArActionConstantVelocity () |
| Destructor. | |
Protected Attributes | |
| ArActionDesired | myDesired |
| double | myVelocity |
This action simply goes straight at a constant velocity.
Definition at line 37 of file ArActionConstantVelocity.h.
|
||||||||||||
|
Constructor.
Definition at line 35 of file ArActionConstantVelocity.cpp. References ArAction::setNextArgument(). |
|
|
Fires the action, returning what the action wants to do.
Implements ArAction. Definition at line 49 of file ArActionConstantVelocity.cpp. References ArActionDesired::reset(), ArActionDesired::setDeltaHeading(), and ArActionDesired::setVel(). |
1.4.0