The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Private Attributes | List of all members
scoped_xy_unit Class Reference

#include <variable.hpp>

Inheritance diagram for scoped_xy_unit:

Public Member Functions

 scoped_xy_unit (const std::string &var_name, map_location loc, const unit_map &umap)
 
void activate ()
 
- Public Member Functions inherited from scoped_wml_variable
 scoped_wml_variable (const std::string &var_name)
 
virtual ~scoped_wml_variable ()
 
const std::string & name () const
 
configstore (const config &var_value=config())
 
bool activated () const
 

Private Attributes

const map_location loc_
 
const unit_mapumap_
 

Detailed Description

Definition at line 249 of file variable.hpp.

Constructor & Destructor Documentation

◆ scoped_xy_unit()

scoped_xy_unit::scoped_xy_unit ( const std::string &  var_name,
map_location  loc,
const unit_map umap 
)
inline

Definition at line 252 of file variable.hpp.

Member Function Documentation

◆ activate()

void scoped_xy_unit::activate ( )
virtual

Member Data Documentation

◆ loc_

const map_location scoped_xy_unit::loc_
private

Definition at line 256 of file variable.hpp.

Referenced by activate().

◆ umap_

const unit_map& scoped_xy_unit::umap_
private

Definition at line 257 of file variable.hpp.

Referenced by activate().


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