#include <variable.hpp>
Public Member Functions | |
scoped_xy_unit (const std::string &var_name, map_location loc, const unit_map &umap) | |
void | activate () |
Public Member Functions inherited from scoped_wml_variable | |
scoped_wml_variable (const std::string &var_name) | |
virtual | ~scoped_wml_variable () |
const std::string & | name () const |
config & | store (const config &var_value=config()) |
bool | activated () const |
Private Attributes | |
const map_location | loc_ |
const unit_map & | umap_ |
Definition at line 249 of file variable.hpp.
|
inline |
Definition at line 252 of file variable.hpp.
|
virtual |
Implements scoped_wml_variable.
Definition at line 545 of file variable.cpp.
References unit_map::end(), ERR_NG, unit_map::find(), loc_, LOG_NG, scoped_wml_variable::name(), scoped_wml_variable::store(), umap_, map_location::wml_x(), and map_location::wml_y().
|
private |
Definition at line 256 of file variable.hpp.
Referenced by activate().
|
private |
Definition at line 257 of file variable.hpp.
Referenced by activate().