src/ai/api/ai_stationlist_valuator.hpp
branchnoai
changeset 9781 d583b3eb60e0
parent 9778 38560cd27070
equal deleted inserted replaced
9780:37eb5460ff2e 9781:d583b3eb60e0
    93 	const char *GetListName() const { return "AIStationList"; }
    93 	const char *GetListName() const { return "AIStationList"; }
    94 	int32 Valuate(int32 station_id) const;
    94 	int32 Valuate(int32 station_id) const;
    95 };
    95 };
    96 
    96 
    97 /**
    97 /**
    98  * Get the sqsuare distance to a tile for entries in an AIStationList instance.
    98  * Get the square distance to a tile for entries in an AIStationList instance.
    99  * @note Resulting items are of the type uint32.
    99  * @note Resulting items are of the type uint32.
   100  * @note Can only operate on an AIStationList instance.
   100  * @note Can only operate on an AIStationList instance.
   101  * @ingroup AIStationList
   101  * @ingroup AIStationList
   102  */
   102  */
   103 class AIStationList_vDistanceSquareToTile : public AIAbstractList::Valuator {
   103 class AIStationList_vDistanceSquareToTile : public AIAbstractList::Valuator {