The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
actions::undo::auto_shroud_action Struct Reference

#include <undo_update_shroud_action.hpp>

Inheritance diagram for actions::undo::auto_shroud_action:
Inheritance graph

Public Member Functions

 auto_shroud_action (bool turned_on)
 
virtual const char * get_type () const
 
virtual ~auto_shroud_action ()
 
virtual void write (config &cfg) const
 Writes this into the provided config. More...
 
- Public Member Functions inherited from actions::undo_action_base
 undo_action_base ()
 Default constructor. More...
 
virtual ~undo_action_base ()
 

Public Attributes

bool active
 

Detailed Description

Definition at line 12 of file undo_update_shroud_action.hpp.

Constructor & Destructor Documentation

actions::undo::auto_shroud_action::auto_shroud_action ( bool  turned_on)
inlineexplicit

Definition at line 15 of file undo_update_shroud_action.hpp.

virtual actions::undo::auto_shroud_action::~auto_shroud_action ( )
inlinevirtual

Definition at line 20 of file undo_update_shroud_action.hpp.

Member Function Documentation

virtual const char* actions::undo::auto_shroud_action::get_type ( ) const
inlinevirtual

Implements actions::undo_action_base.

Definition at line 19 of file undo_update_shroud_action.hpp.

void actions::undo::auto_shroud_action::write ( config cfg) const
virtual

Writes this into the provided config.

Reimplemented from actions::undo_action_base.

Definition at line 14 of file undo_update_shroud_action.cpp.

References active, and actions::undo_action_base::write().

Member Data Documentation

bool actions::undo::auto_shroud_action::active

Definition at line 13 of file undo_update_shroud_action.hpp.

Referenced by write().


The documentation for this struct was generated from the following files: