torque Torque Game Engine Documentation
TGE Version 1.5.2

AIWheeledVehicle Class Reference

#include <aiWheeledVehicle.h>

Inheritance diagram for AIWheeledVehicle:

Inheritance graph
[legend]

Public Types

enum  MoveState {
  ModeStop,
  ModeMove,
  ModeStuck,
  ModeReverse
}
enum  DrivingState {
  SteerNull,
  Left,
  Right,
  Straight,
  TurnAround
}

Public Member Functions

 AIWheeledVehicle ()
void setMoveSpeed (const F32 speed)
F32 getMoveSpeed () const
void setMoveTolerance (const F32 tolerance)
F32 getMoveTolerance () const
void setMoveDestination (const Point3F &location, bool slowdown)
Point3F getMoveDestination () const
void stopMove ()
 DECLARE_CONOBJECT (AIWheeledVehicle)

Protected Member Functions

F32 getSteeringAngle ()
void throwCallback (const char *name)
virtual bool getAIMove (Move *move)

Protected Attributes

MoveState mMoveState
F32 mMoveSpeed
F32 mMoveTolerance
Point3F mMoveDestination
Point3F mLastLocation
bool mMoveSlowdown
DrivingState steerState
F32 mLastSteered

Private Types

typedef WheeledVehicle Parent

Member Typedef Documentation

Reimplemented from WheeledVehicle.


Member Enumeration Documentation

Enumerator:
ModeStop 
ModeMove 
ModeStuck 
ModeReverse 

Enumerator:
SteerNull 
Left 
Right 
Straight 
TurnAround 


Constructor & Destructor Documentation

AIWheeledVehicle::AIWheeledVehicle (  ) 


Member Function Documentation

F32 AIWheeledVehicle::getSteeringAngle (  )  [protected]

void AIWheeledVehicle::throwCallback ( const char *  name  )  [protected]

virtual bool AIWheeledVehicle::getAIMove ( Move move  )  [protected, virtual]

Reimplemented from Vehicle.

void AIWheeledVehicle::setMoveSpeed ( const F32  speed  ) 

F32 AIWheeledVehicle::getMoveSpeed (  )  const [inline]

void AIWheeledVehicle::setMoveTolerance ( const F32  tolerance  ) 

F32 AIWheeledVehicle::getMoveTolerance (  )  const [inline]

void AIWheeledVehicle::setMoveDestination ( const Point3F location,
bool  slowdown 
)

Point3F AIWheeledVehicle::getMoveDestination (  )  const [inline]

void AIWheeledVehicle::stopMove (  ) 

AIWheeledVehicle::DECLARE_CONOBJECT ( AIWheeledVehicle   ) 


Field Documentation




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen