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

#include <manager.hpp>

Public Member Functions

 future_map_if (bool cond)
 

Public Attributes

const std::unique_ptr< future_mapfuture_map_
 

Detailed Description

Definition at line 258 of file manager.hpp.

Constructor & Destructor Documentation

◆ future_map_if()

wb::future_map_if::future_map_if ( bool  cond)
inline
Parameters
condIf true, applies the planned unit map for the duration of the struct's life and reverts to real unit map on destruction. No effect if cond == false.

Definition at line 265 of file manager.hpp.

Member Data Documentation

◆ future_map_

const std::unique_ptr<future_map> wb::future_map_if::future_map_

Definition at line 260 of file manager.hpp.


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