#include <game_events.hpp>
Public Member Functions | |
entity_location (gamemap::location loc, const std::string &id="") | |
entity_location (unit_map::iterator itor) | |
bool | requires_unit () const |
bool | matches_unit (const unit &u) const |
Private Attributes | |
std::string | id_ |
Definition at line 64 of file game_events.hpp.
game_events::entity_location::entity_location | ( | gamemap::location | loc, | |
const std::string & | id = "" | |||
) |
Definition at line 3268 of file game_events.cpp.
game_events::entity_location::entity_location | ( | unit_map::iterator | itor | ) | [explicit] |
Definition at line 3272 of file game_events.cpp.
bool game_events::entity_location::requires_unit | ( | ) | const |
bool game_events::entity_location::matches_unit | ( | const unit & | u | ) | const |
Definition at line 3276 of file game_events.cpp.
References id_, and unit::underlying_id().
Referenced by attack::attack().
std::string game_events::entity_location::id_ [private] |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |