The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
undo_update_shroud_action.cpp
Go to the documentation of this file.
2 #include "resources.hpp"
3 #include "replay.hpp"
4 
5 namespace actions
6 {
7 namespace undo
8 {
9 
10 
11 /**
12  * Writes this into the provided config.
13  */
15 {
17  cfg["active"] = active;
18 }
19 
20 /**
21  * Writes this into the provided config.
22  */
24 {
26 }
27 
28 
29 }
30 }
virtual void write(config &cfg) const
Writes this into the provided config.
Definition: undo_action.hpp:38
virtual void write(config &cfg) const
Writes this into the provided config.
Replay control code.
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.
Definition: config.hpp:83