#include <vehicle.h>
Inheritance diagram for Vehicle:

Public Types | |
| enum | VEHICLE_TYPE { VEHICLE_STD, VEHICLE_BUS, VEHICLE_SPORT, VEHICLE_NUMBER } |
Public Member Functions | |
| Vehicle (const VEHICLE_TYPE &type) | |
| const bool | Move () |
| void | Start () |
Protected Attributes | |
| uint | uiCapacity |
| VEHICLE_TYPE | enumType |
Private Member Functions | |
| void | _CalculateDelta () |
Definition at line 30 of file vehicle.h.
|
|
|
|
|
Tell the object to move
Implements Movement. Definition at line 69 of file vehicle.cpp. References Movement::_fCurrentW, Movement::_fDeltaW, Destination::_iHMin, Destination::_uiL, Destination::_uiTime, Destination::_uiW, Movement::destCurrent, Movement::uiCurrentIndex, Movement::uiFramePerUnit, Movement::uiNumberOfFrame, and Movement::vdest. |
|
|
Initialize the movement. It should be called before any call to the Move() method
Implements Movement. Definition at line 117 of file vehicle.cpp. References Movement::_fCurrentW, Destination::_iHMin, Destination::_uiL, Destination::_uiW, Movement::destCurrent, Movement::uiCurrentIndex, Movement::uiNumberOfFrame, and Movement::vdest. |
1.4.2