Base class for any AIList sorter. More...
Public Member Functions | |
virtual | ~AIListSorter () |
Virtual dtor, needed to mute warnings. | |
virtual int32 | Begin ()=0 |
Get the first item of the sorter. | |
virtual void | End ()=0 |
Stop iterating a sorter. | |
virtual int32 | Next ()=0 |
Get the next item of the sorter. | |
bool | IsEnd () |
See if the sorter has reached the end. | |
virtual void | Remove (int item)=0 |
Callback from the list if an item gets removed. | |
Protected Attributes | |
AIList * | list |
The list that's being sorted. | |
bool | has_no_more_items |
Whether we have more items to iterate over. | |
int32 | item_next |
The next item we will show. |
Base class for any AIList sorter.
Definition at line 20 of file ai_list.cpp.