A config object defines a single node in a WML file, with access to child nodes.
config & add_child(config_key_type key)
void add(const unit_ptr &ptr, int pos=-1)
Add a unit to the list.
This class stores all the data for a single 'side' (in game nomenclature).
recall_list_manager & recall_list()
virtual void write(config &cfg) const
Writes this into the provided config.
virtual bool undo(int side)
Undoes this action.
virtual void write(config &cfg) const
Writes this into the provided config.
void execute_undo_umc_wml()