The Battle for Wesnoth  1.19.7+dev
Public Member Functions | Public Attributes | List of all members
wb::future_map Struct Reference

Applies the planned unit map for the duration of the struct's life. More...

#include <manager.hpp>

Public Member Functions

 future_map ()
 
 ~future_map ()
 

Public Attributes

bool initial_planned_unit_map_
 

Detailed Description

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 252 of file manager.hpp.

Constructor & Destructor Documentation

◆ future_map()

wb::future_map::future_map ( )

Definition at line 1221 of file manager.cpp.

References DBG_WB, initial_planned_unit_map_, and resources::whiteboard.

◆ ~future_map()

wb::future_map::~future_map ( )

Definition at line 1234 of file manager.cpp.

References initial_planned_unit_map_, and resources::whiteboard.

Member Data Documentation

◆ initial_planned_unit_map_

bool wb::future_map::initial_planned_unit_map_

Definition at line 256 of file manager.hpp.

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


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