AIListSorterItemDescending Class Reference

Sort by item, descending. More...

Inheritance diagram for AIListSorterItemDescending:
AIListSorter

Public Member Functions

 AIListSorterItemDescending (AIList *list)
int32 Begin ()
 Get the first item of the sorter.
void End ()
 Stop iterating a sorter.
void FindNext ()
int32 Next ()
 Get the next item of the sorter.
void Remove (int item)
 Callback from the list if an item gets removed.
bool IsEnd ()
 See if the sorter has reached the end.

Private Attributes

AIList::AIListMap::iterator item_iter
bool has_no_more_items
int32 item_next

Detailed Description

Sort by item, descending.

Definition at line 309 of file ai_list.cpp.


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

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