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

Creates an empty list, in which you can add integers. More...

Inheritance diagram for AIList:

AIAbstractList AIObject

Public Member Functions

void AddItem (int32 item, int32 value)
 Add an item to the list.
void ChangeItem (int32 item, int32 value)
 Change the value of an item in the list.
void RemoveItem (int32 item)
 Remove the item from the list.

Detailed Description

Creates an empty list, in which you can add integers.

Member Function Documentation

void AIList::AddItem ( int32  item,
int32  value 
)

Add an item to the list.

Parameters:
item the item to add.
value the value to assign.

void AIList::ChangeItem ( int32  item,
int32  value 
)

Change the value of an item in the list.

Parameters:
item the item to change
value the value to assign.

void AIList::RemoveItem ( int32  item  ) 

Remove the item from the list.

Parameters:
item the item to remove.

Reimplemented from AIAbstractList.


Generated on Wed Sep 15 14:11:49 2010 for OpenTTD NoAI API by  doxygen 1.5.6