src/ai/api/ai_vehiclelist.hpp
author truebrain
Sat, 23 Feb 2008 16:21:10 +0000
branchnoai
changeset 9746 e4ab7ea8d897
parent 9745 fb2454d70f37
child 9772 c1035f0ac732
permissions -rw-r--r--
(svn r12226) [NoAI] -Fix: remove the dep for AIStationList_Vehicle on AIStationList, as Squirrel doesn't like it
/* $Id$ */

/** @file ai_vehiclelist.hpp list all the vehicles (you own) */

#ifndef AI_VEHICLELIST_HPP
#define AI_VEHICLELIST_HPP

#include "ai_abstractlist.hpp"

/**
 * Class that creates a list of vehicles you own.
 */
class AIVehicleList : public AIAbstractList {
public:
	/**
	 * The name of the class, needed by several sub-processes.
	 */
	static const char *GetClassName() { return "AIVehicleList"; }

	/**
	 * The constructor to make a list of vehicles.
	 */
	AIVehicleList();
};

/**
 * Class that creates a list of vehicles that go to a given station.
 */
class AIVehicleList_Station : public AIAbstractList {
public:
	/**
	 * The name of the class, needed by several sub-processes.
	 */
	static const char *GetClassName() { return "AIVehicleList_Station"; }

	/**
	 * The constructor to make a list of vehicles that goes to this station.
	 * @param station_id The station to get the list of vehicles that go here from.
	 */
	AIVehicleList_Station(StationID station_id);
};

#endif /* AI_VEHICLELIST_HPP */