OpenTTD NoAI API
|
Creates an empty list, in which you can add integers. More...
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. |
Creates an empty list, in which you can add integers.
void AIList::AddItem | ( | int32 | item, |
int32 | value | ||
) |
Add an item to the list.
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.
item | the item to change |
value | the value to assign. |
void AIList::RemoveItem | ( | int32 | item | ) |
Remove the item from the list.
item | the item to remove. |
Reimplemented from AIAbstractList.