src/ai/api/ai_stationlist.hpp
branchnoai
changeset 9772 c1035f0ac732
parent 9746 e4ab7ea8d897
child 9778 38560cd27070
equal deleted inserted replaced
9771:769496a7b02e 9772:c1035f0ac732
    21 	/**
    21 	/**
    22 	 * The constructor to make a list of stations.
    22 	 * The constructor to make a list of stations.
    23 	 * @param type The type of station you want a list of.
    23 	 * @param type The type of station you want a list of.
    24 	 */
    24 	 */
    25 	AIStationList(AIStation::StationType type);
    25 	AIStationList(AIStation::StationType type);
       
    26 
       
    27 private:
       
    28 	/**
       
    29 	 * The name of this list, to check if a Valuator can be used on this list.
       
    30 	 */
       
    31 	const char *GetListName() const { return "AIStationList"; }
    26 };
    32 };
    27 
    33 
    28 /**
    34 /**
    29  * Class that creates a list of stations the vehicles goes to.
    35  * Class that creates a list of stations the vehicles goes to.
    30  */
    36  */
    38 	/**
    44 	/**
    39 	 * The constructor to make a list of stations.
    45 	 * The constructor to make a list of stations.
    40 	 * @param vehicle_id The vehicles to get the list of stations he goes to from.
    46 	 * @param vehicle_id The vehicles to get the list of stations he goes to from.
    41 	 */
    47 	 */
    42 	AIStationList_Vehicle(VehicleID vehicle_id);
    48 	AIStationList_Vehicle(VehicleID vehicle_id);
       
    49 
       
    50 private:
       
    51 	/**
       
    52 	 * The name of this list, to check if a Valuator can be used on this list.
       
    53 	 */
       
    54 	const char *GetListName() const { return "AIStationList"; }
    43 };
    55 };
    44 
    56 
    45 #endif /* AI_STATIONLIST_HPP */
    57 #endif /* AI_STATIONLIST_HPP */