#include <game_events.hpp>


Public Member Functions | |
| entity_location (const map_location &loc, size_t id=0) | |
| entity_location (const unit &) | |
| bool | requires_unit () const |
| bool | matches_unit (const unit &u) const |
Private Attributes | |
| size_t | id_ |
Definition at line 63 of file game_events.hpp.
| game_events::entity_location::entity_location | ( | const map_location & | loc, | |
| size_t | id = 0 | |||
| ) |
Definition at line 3631 of file game_events.cpp.
| game_events::entity_location::entity_location | ( | const unit & | u | ) | [explicit] |
Definition at line 3635 of file game_events.cpp.
| bool game_events::entity_location::matches_unit | ( | const unit & | u | ) | const |
Definition at line 3639 of file game_events.cpp.
References id_, and unit::underlying_id().
Referenced by process_event(), and WML_HANDLER_FUNCTION().


| bool game_events::entity_location::requires_unit | ( | ) | const |
Definition at line 3644 of file game_events.cpp.
References id_.
Referenced by process_event().

size_t game_events::entity_location::id_ [private] |
Definition at line 69 of file game_events.hpp.
Referenced by matches_unit(), and requires_unit().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:19:51 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |