37 virtual bool undo(
int side);
A config object defines a single node in a WML file, with access to child nodes.
std::shared_ptr< const unit > unit_const_ptr
std::shared_ptr< unit > unit_ptr
dismiss_action(const unit_const_ptr &dismissed)
virtual ~dismiss_action()
virtual void write(config &cfg) const
Writes this into the provided config.
static const char * get_type_impl()
virtual const char * get_type() const
virtual bool undo(int side)
Undoes this action.
Records information to be able to undo an action.