25 #ifndef ENGINES_JADE_OBJECTCONTAINER_H 26 #define ENGINES_JADE_OBJECTCONTAINER_H 101 #endif // ENGINES_JADE_OBJECTCONTAINER_H
::Aurora::NWScript::ObjectSearch * findObjectsByType(ObjectType type) const
Return a search context to iterate over all objects of this type.
void addObject(Jade::Object &object)
Add an object to this container.
SearchList::type ObjectList
static Creature * toCreature(Aurora::NWScript::Object *object)
void removeObject(Jade::Object &object)
Remove an object from this container.
static Placeable * toPlaceable(Aurora::NWScript::Object *object)
static Waypoint * toWaypoint(Aurora::NWScript::Object *object)
static Creature * toPC(Aurora::NWScript::Object *object)
static Event * toEvent(Aurora::NWScript::EngineType *engineType)
A class able to sort objects by distance to a target object.
bool operator()(Jade::Object *a, Jade::Object *b)
static Jade::Object * toObject(::Aurora::NWScript::Object *object)
Basic Jade Empire type definitions.
An area in Jade Empire, holding all objects and rooms within, as well as general area properties like...
Low-level type definitions to handle fixed width types portably.
std::list< Jade::Object * > ObjectList
An object within a Jade area.
::Aurora::NWScript::Object * getFirstObjectByType(ObjectType type) const
Return the first object of this type.
ObjectList _objects[kObjectTypeMAX]
static Area * toArea(Aurora::NWScript::Object *object)
static Location * toLocation(Aurora::NWScript::EngineType *engineType)
float getDistance(Jade::Object &a)
ObjectDistanceSort(const Jade::Object &target)
An NWScript object container.