AIWaypointList_Vehicle Class Reference
[Classes that create a list of items.]

Creates a list of waypoints which the vehicle has in its orders. More...

#include <ai_waypointlist.hpp>

Inheritance diagram for AIWaypointList_Vehicle:
AIList AIObject SimpleCountedObject

Public Member Functions

 AIWaypointList_Vehicle (VehicleID vehicle_id)

Static Public Member Functions

static const char * GetClassName ()
 Get the name of this class to identify it towards squirrel.

Detailed Description

Creates a list of waypoints which the vehicle has in its orders.

Definition at line 37 of file ai_waypointlist.hpp.


Constructor & Destructor Documentation

AIWaypointList_Vehicle::AIWaypointList_Vehicle ( VehicleID  vehicle_id  ) 
Parameters:
vehicle_id The vehicle to get the list of waypoints he has in its orders from.

Definition at line 28 of file ai_waypointlist.cpp.

References AIList::AddItem(), Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem<&_vehicle_pool >::Get(), Vehicle::GetFirstOrder(), AIVehicle::IsValidVehicle(), and Order::next.


Member Function Documentation

static const char* AIWaypointList_Vehicle::GetClassName (  )  [inline, static]

Get the name of this class to identify it towards squirrel.

Reimplemented from AIList.

Definition at line 40 of file ai_waypointlist.hpp.


The documentation for this class was generated from the following files:

Generated on Sun May 8 07:30:55 2011 for OpenTTD by  doxygen 1.6.1