Object_closest_sorter Class Reference

Collaboration diagram for Object_closest_sorter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Object_closest_sorter (Tile_coord p)
bool operator() (const Game_object *o1, const Game_object *o2)

Private Attributes

Tile_coord pos

Detailed Description

Definition at line 461 of file objs.cc.


Constructor & Destructor Documentation

Object_closest_sorter::Object_closest_sorter ( Tile_coord  p  )  [inline]

Definition at line 465 of file objs.cc.


Member Function Documentation

bool Object_closest_sorter::operator() ( const Game_object o1,
const Game_object o2 
) [inline]

Definition at line 467 of file objs.cc.

References Tile_coord::distance(), Game_object::get_tile(), and pos.

Here is the call graph for this function:


Member Data Documentation

Tile_coord Object_closest_sorter::pos [private]

Definition at line 463 of file objs.cc.

Referenced by operator()().


The documentation for this class was generated from the following file:
Generated on Mon Jul 9 15:00:39 2007 for ExultEngine by  doxygen 1.5.1