21 const map_location& from,
int orig_village_owner,
bool time_bonus)
34 virtual const char*
get_type()
const {
return "recall"; }
41 virtual bool undo(
int side);
43 virtual bool redo(
int side);
base class for classes that clear srhoud (move/recruit/recall)
virtual bool undo(int side)
Undoes this action.
virtual bool redo(int side)
Redoes this action.
Encapsulates the map of the game.
virtual const char * get_type() const
recall_action(const config &cfg, const map_location &from)
recall_action(const unit_const_ptr recalled, const map_location &loc, const map_location &from, int orig_village_owner, bool time_bonus)
virtual void write(config &cfg) const
Writes this into the provided config.
A config object defines a single node in a WML file, with access to child nodes.
GLsizei const GLcharARB ** string
actions that are undoable (this does not include update_shroud and auto_shroud)