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
wb::future_map_if_active Struct Reference

ONLY IF whiteboard is currently active, applies the planned unit map for the duration of the struct's life. More...

#include <manager.hpp>

Public Member Functions

 future_map_if_active ()
 
 ~future_map_if_active ()
 

Public Attributes

bool initial_planned_unit_map_
 
bool whiteboard_active_
 

Detailed Description

ONLY IF whiteboard is currently active, applies the planned unit map for the duration of the struct's life.

Reverts to real unit map on destruction, unless planned unit map was already applied when the struct was created.

Definition at line 269 of file manager.hpp.

Constructor & Destructor Documentation

wb::future_map_if_active::future_map_if_active ( )
wb::future_map_if_active::~future_map_if_active ( )

Definition at line 1221 of file manager.cpp.

References initial_planned_unit_map_, and resources::whiteboard.

Member Data Documentation

bool wb::future_map_if_active::initial_planned_unit_map_

Definition at line 273 of file manager.hpp.

Referenced by future_map_if_active(), and ~future_map_if_active().

bool wb::future_map_if_active::whiteboard_active_

Definition at line 274 of file manager.hpp.

Referenced by future_map_if_active().


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