#include <vehicle_base.h>

Public Member Functions | |
| DisasterVehicle () | |
| Initializes the Vehicle to a disaster vehicle. | |
| virtual | ~DisasterVehicle () |
| We want to 'destruct' the right class. | |
| const char * | GetTypeString () const |
| void | UpdateDeltaXY (Direction direction) |
| void | Tick () |
You create a Vehicle using AllocateVehicle, so it is added to the pool and you reinitialize that to a Train using: v = new (v) Train();
As side-effect the vehicle type is set correctly.
Definition at line 611 of file vehicle_base.h.
| virtual DisasterVehicle::~DisasterVehicle | ( | ) | [inline, virtual] |
1.5.6