The Battle for Wesnoth  1.19.0-dev
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:

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 (const undo_action_base &)=delete
undo_action_baseoperator= (const undo_action_base &)=delete
 undo_action_base ()
 Default constructor. More...
virtual ~undo_action_base ()

Public Attributes

bool active

Detailed Description

Definition at line 25 of file undo_update_shroud_action.hpp.

Constructor & Destructor Documentation

◆ auto_shroud_action()

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

Definition at line 28 of file undo_update_shroud_action.hpp.

◆ ~auto_shroud_action()

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

Definition at line 33 of file undo_update_shroud_action.hpp.

Member Function Documentation

◆ get_type()

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

Implements actions::undo_action_base.

Definition at line 32 of file undo_update_shroud_action.hpp.

◆ write()

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

Writes this into the provided config.

Reimplemented from actions::undo_action_base.

Definition at line 27 of file undo_update_shroud_action.cpp.

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

Member Data Documentation

◆ active

bool actions::undo::auto_shroud_action::active

Definition at line 26 of file undo_update_shroud_action.hpp.

Referenced by write().

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