31 ,
active(cfg[
"active"].to_bool())
38 virtual bool undo(
int);
A config object defines a single node in a WML file, with access to child nodes.
virtual void write(config &cfg) const
Writes this into the provided config.
virtual ~auto_shroud_action()
static const char * get_type_impl()
auto_shroud_action(const config &cfg)
virtual const char * get_type() const
virtual bool undo(int)
Undoes this action.
auto_shroud_action(bool turned_on)
Records information to be able to undo an action.