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::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 70 of file utility.hpp.

Constructor & Destructor Documentation

wb::temporary_unit_hider::temporary_unit_hider ( unit u)

Definition at line 131 of file utility.cpp.

References unit::set_hidden(), and unit_.

wb::temporary_unit_hider::~temporary_unit_hider ( )

Definition at line 134 of file utility.cpp.

References unit::set_hidden(), and unit_.

Member Data Documentation

unit* const wb::temporary_unit_hider::unit_

Definition at line 73 of file utility.hpp.

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


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