20 #ifndef GAME_EVENTS_ENTITY_LOCATION_H_INCLUDED
21 #define GAME_EVENTS_ENTITY_LOCATION_H_INCLUDED
60 #endif // GAME_EVENTS_ENTITY_LOCATION_H_INCLUDED
unit_const_ptr get_unit() const
entity_location(const map_location &loc, size_t id=0)
Constructor for when an event has a location but not necessarily a unit.
static const entity_location null_entity
bool matches_unit_filter(const unit_map::const_iterator &un_it, const vconfig &filter) const
Determines if un_it matches filter.
size_t id_
The underlying ID of the unit associated with this.
Encapsulates the map of the game.
map_location filter_loc_
This map_location allows a unit to be filtered as if it were somewhere other than where it is...
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
bool matches_unit(const unit_map::const_iterator &un_it) const
Determines if un_it matches (using underlying ID) the unit that was supplied when this was constructe...
A variable-expanding proxy for the config class.