The Battle for Wesnoth  1.15.1+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 74 of file utility.hpp.

Constructor & Destructor Documentation

◆ temporary_unit_hider()

wb::temporary_unit_hider::temporary_unit_hider ( unit u)

Definition at line 148 of file utility.cpp.

References unit::set_hidden(), and unit_.

◆ ~temporary_unit_hider()

wb::temporary_unit_hider::~temporary_unit_hider ( )

Definition at line 151 of file utility.cpp.

References unit::set_hidden(), and unit_.

Member Data Documentation

◆ unit_

unit* const wb::temporary_unit_hider::unit_

Definition at line 77 of file utility.hpp.

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


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