OpenTTD-patches/src/ai/api/ai_grouplist.hpp

22 lines
483 B
C++
Raw Normal View History

/* $Id$ */
/** @file ai_grouplist.hpp List all the groups (you own). */
#ifndef AI_GROUPLIST_HPP
#define AI_GROUPLIST_HPP
#include "ai_abstractlist.hpp"
/**
* Creates a list of groups of which you are the owner.
* @note Neither AIGroup::GROUP_ALL nor AIGroup::GROUP_DEFAULT is in this list.
* @ingroup AIList
*/
class AIGroupList : public AIAbstractList {
public:
static const char *GetClassName() { return "AIGroupList"; }
AIGroupList();
};
#endif /* AI_GROUPLIST_HPP */