#include <aircraft.h>

Public Member Functions | |
| Aircraft () | |
| Initializes the Vehicle to an aircraft. | |
| virtual | ~Aircraft () |
| We want to 'destruct' the right class. | |
| const char * | GetTypeString () const |
| void | MarkDirty () |
| void | UpdateDeltaXY (Direction direction) |
| ExpensesType | GetExpenseType (bool income) const |
| bool | IsPrimaryVehicle () const |
| SpriteID | GetImage (Direction direction) const |
| int | GetDisplaySpeed () const |
| int | GetDisplayMaxSpeed () const |
| Money | GetRunningCost () const |
| bool | IsInDepot () const |
| void | Tick () |
| void | OnNewDay () |
| TileIndex | GetOrderStationLocation (StationID station) |
| bool | FindClosestDepot (TileIndex *location, DestinationID *destination, bool *reverse) |
You create a Vehicle using AllocateVehicle, so it is added to the pool and you reinitialize that to a Train using: v = new (v) Aircraft();
As side-effect the vehicle type is set correctly.
Definition at line 92 of file aircraft.h.
| virtual Aircraft::~Aircraft | ( | ) | [inline, virtual] |
1.5.6