#include <variable.hpp>
Public Member Functions | |
scoped_recall_unit (const std::string &var_name, const std::string &player, unsigned int recall_index) | |
void | activate () |
Private Attributes | |
const std::string | player_ |
unsigned int | recall_index_ |
Definition at line 142 of file variable.hpp.
scoped_recall_unit::scoped_recall_unit | ( | const std::string & | var_name, | |
const std::string & | player, | |||
unsigned int | recall_index | |||
) | [inline] |
Definition at line 145 of file variable.hpp.
void scoped_recall_unit::activate | ( | ) | [virtual] |
Implements scoped_wml_variable.
Definition at line 479 of file variable.cpp.
References player_info::available_units, ERR_NG, game_state::get_player(), scoped_wml_variable::name(), player_, recall_index_, and scoped_wml_variable::store().
const std::string scoped_recall_unit::player_ [private] |
unsigned int scoped_recall_unit::recall_index_ [private] |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |