The Battle for Wesnoth  1.19.0-dev
Public Member Functions | Public Attributes | List of all members
wb::temporary_unit_hider Struct Reference

#include <utility.hpp>

Public Member Functions

 temporary_unit_hider (unit &u)
 
 ~temporary_unit_hider ()
 

Public Attributes

unit *const unit_
 

Detailed Description

Definition at line 81 of file utility.hpp.

Constructor & Destructor Documentation

◆ temporary_unit_hider()

wb::temporary_unit_hider::temporary_unit_hider ( unit u)

Definition at line 146 of file utility.cpp.

References unit::set_hidden(), and unit_.

◆ ~temporary_unit_hider()

wb::temporary_unit_hider::~temporary_unit_hider ( )

Definition at line 149 of file utility.cpp.

References unit::set_hidden(), and unit_.

Member Data Documentation

◆ unit_

unit* const wb::temporary_unit_hider::unit_

Definition at line 84 of file utility.hpp.

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


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