src/ai/api/ai_vehiclelist.hpp
branchnoai
changeset 9647 c17046b1b8a2
parent 9632 1816329e9cdd
child 9740 a98f20bce404
equal deleted inserted replaced
9646:1e63b7128e05 9647:c17046b1b8a2
    21 	 * The constructor to make a list of vehicles.
    21 	 * The constructor to make a list of vehicles.
    22 	 */
    22 	 */
    23 	AIVehicleList();
    23 	AIVehicleList();
    24 };
    24 };
    25 
    25 
       
    26 /**
       
    27  * Class that creates a list of vehicles that go to a given station.
       
    28  */
       
    29 class AIStationVehicleList : public AIAbstractList {
       
    30 public:
       
    31 	/**
       
    32 	 * The name of the class, needed by several sub-processes.
       
    33 	 */
       
    34 	static const char *GetClassName() { return "AIStationVehicleList"; }
       
    35 
       
    36 	/**
       
    37 	 * The constructor to make a list of vehicles that goes to this station.
       
    38 	 * @param station The station to get the list of vehicles that go here from.
       
    39 	 */
       
    40 	AIStationVehicleList(StationID station);
       
    41 };
       
    42 
    26 #endif /* AI_VEHICLELIST_HPP */
    43 #endif /* AI_VEHICLELIST_HPP */