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

Creates a list of waypoints of which you are the owner. More...

#include <ai_waypointlist.hpp>

Inheritance diagram for AIWaypointList:
AIList AIObject SimpleCountedObject

Public Member Functions

 AIWaypointList (AIWaypoint::WaypointType waypoint_type)

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 of which you are the owner.

Definition at line 22 of file ai_waypointlist.hpp.


Constructor & Destructor Documentation

AIWaypointList::AIWaypointList ( AIWaypoint::WaypointType  waypoint_type  ) 
Parameters:
waypoint_type The type of waypoint to make a list of waypoints for.

Definition at line 19 of file ai_waypointlist.cpp.

References _current_company, AIList::AddItem(), BaseStation::facilities, Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tcache, Tzero >::PoolItem< Tpool >::index, BaseStation::owner, and OWNER_NONE.


Member Function Documentation

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

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

Reimplemented from AIList.

Definition at line 25 of file ai_waypointlist.hpp.


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

Generated on Sun May 15 19:20:52 2011 for OpenTTD by  doxygen 1.6.1