#include <VehicleSprite.h>
Inheritance diagram for VehicleSprite:
Public Member Functions | |
| VehicleSprite (void) | |
| virtual void | setAccelerate (bool b)=0 |
| virtual void | setSlowDown (bool b)=0 |
| virtual void | setTurnLeft (bool b)=0 |
| virtual void | setTurnRight (bool b)=0 |
| virtual void | stop () |
| virtual class VehicleGroup * | getGroup (void) |
| virtual void | setGroup (class VehicleGroup *new_group) |
| virtual class KeyDriver * | allocDriver (void) |
| virtual class KeyDriver * | getDriver (void) |
| virtual class AutoDriver * | getAutoDriver (void) |
| virtual class AutoGunner * | getAutoGunner (void) |
| virtual void | getHudSize (int *w, int *h) |
| virtual int | paintHud (std::string &hudString) |
| virtual std::string | getName () |
| virtual void | setName (std::string new_name) |
Public Attributes | |
| float | health |
Protected Attributes | |
| KeyDriver * | driver |
| VehicleGroup * | group |
| std::string | name |
| VehicleSprite::VehicleSprite | ( | void | ) | [inline] |
| virtual class KeyDriver* VehicleSprite::allocDriver | ( | void | ) | [inline, virtual] |
Reimplemented in TankSprite, and TrackedVehicleSprite.
| virtual class AutoDriver* VehicleSprite::getAutoDriver | ( | void | ) | [inline, virtual] |
| virtual class AutoGunner* VehicleSprite::getAutoGunner | ( | void | ) | [inline, virtual] |
Reimplemented in TankSprite.
| virtual class KeyDriver* VehicleSprite::getDriver | ( | void | ) | [inline, virtual] |
| virtual class VehicleGroup* VehicleSprite::getGroup | ( | void | ) | [inline, virtual] |
| virtual void VehicleSprite::getHudSize | ( | int * | w, | |
| int * | h | |||
| ) | [inline, virtual] |
| virtual std::string VehicleSprite::getName | ( | ) | [inline, virtual] |
| virtual int VehicleSprite::paintHud | ( | std::string & | hudString | ) | [inline, virtual] |
Reimplemented in TankSprite, and TrackedVehicleSprite.
| virtual void VehicleSprite::setAccelerate | ( | bool | b | ) | [pure virtual] |
Implemented in GroundVehicleSprite.
| virtual void VehicleSprite::setGroup | ( | class VehicleGroup * | new_group | ) | [inline, virtual] |
| virtual void VehicleSprite::setName | ( | std::string | new_name | ) | [inline, virtual] |
| virtual void VehicleSprite::setSlowDown | ( | bool | b | ) | [pure virtual] |
Implemented in GroundVehicleSprite.
| virtual void VehicleSprite::setTurnLeft | ( | bool | b | ) | [pure virtual] |
Implemented in GroundVehicleSprite.
| virtual void VehicleSprite::setTurnRight | ( | bool | b | ) | [pure virtual] |
Implemented in GroundVehicleSprite.
| void VehicleSprite::stop | ( | ) | [inline, virtual] |
class KeyDriver* VehicleSprite::driver [protected] |
class VehicleGroup* VehicleSprite::group [protected] |
| float VehicleSprite::health |
std::string VehicleSprite::name [protected] |
1.4.7