#include <actions.hpp>
Public Member Functions | |
undo_action (const unit &u, const std::vector< gamemap::location > &rt, int sm, int timebonus=0, int orig=-1) | |
undo_action (const unit &u, const gamemap::location &loc, const int pos) | |
bool | is_recall () const |
bool | is_recruit () const |
Public Attributes | |
std::vector< gamemap::location > | route |
int | starting_moves |
int | original_village_owner |
gamemap::location | recall_loc |
int | recall_pos |
unit | affected_unit |
int | countdown_time_bonus |
Definition at line 281 of file actions.hpp.
undo_action::undo_action | ( | const unit & | u, | |
const std::vector< gamemap::location > & | rt, | |||
int | sm, | |||
int | timebonus = 0 , |
|||
int | orig = -1 | |||
) | [inline] |
Definition at line 282 of file actions.hpp.
undo_action::undo_action | ( | const unit & | u, | |
const gamemap::location & | loc, | |||
const int | pos | |||
) | [inline] |
Definition at line 294 of file actions.hpp.
bool undo_action::is_recall | ( | ) | const [inline] |
Definition at line 311 of file actions.hpp.
References recall_pos.
Referenced by events::menu_handler::redo(), and events::menu_handler::undo().
bool undo_action::is_recruit | ( | ) | const [inline] |
Definition at line 312 of file actions.hpp.
References recall_pos, and RECRUIT_POS.
Referenced by events::menu_handler::redo(), and events::menu_handler::undo().
std::vector<gamemap::location> undo_action::route |
Definition at line 304 of file actions.hpp.
Referenced by events::menu_handler::redo(), and events::menu_handler::undo().
Definition at line 305 of file actions.hpp.
Referenced by events::menu_handler::redo(), and events::menu_handler::undo().
Definition at line 307 of file actions.hpp.
Referenced by events::menu_handler::redo(), and events::menu_handler::undo().
Definition at line 308 of file actions.hpp.
Referenced by is_recall(), is_recruit(), events::menu_handler::redo(), and events::menu_handler::undo().
Definition at line 310 of file actions.hpp.
Referenced by events::menu_handler::redo(), and events::menu_handler::undo().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |