src/ai/api/ai_enginelist.cpp
author truebrain
Mon, 07 Apr 2008 14:00:52 +0000
branchnoai
changeset 9874 4ecef0dadf01
parent 9837 c9ec4f82e0d0
child 10455 22c441f5adf9
permissions -rw-r--r--
(svn r12607) [NoAI] -Add: SetLastError support for AIVehicle (Morloth)
/* $Id$ */

/** @file ai_enginelist.cpp Implementation of AIEngineList and friends. */

#include "ai_enginelist.hpp"
#include "../../engine_func.h"

AIEngineList::AIEngineList(AIVehicle::VehicleType vehicle_type)
{
	EngineID e;
	FOR_ALL_ENGINEIDS_OF_TYPE(e, (::VehicleType)vehicle_type) {
		this->AddItem(e);
	}
}