The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
scoped_xy_unit Class Reference

#include <variable.hpp>

Inheritance diagram for scoped_xy_unit:
Inheritance graph

Public Member Functions

 scoped_xy_unit (const std::string &var_name, const int x, const int y, 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::stringname () const
 
configstore (const config &var_value=config())
 
bool activated () const
 

Private Attributes

const int x_
 
const int y_
 
const unit_mapumap_
 

Detailed Description

Definition at line 194 of file variable.hpp.

Constructor & Destructor Documentation

scoped_xy_unit::scoped_xy_unit ( const std::string var_name,
const int  x,
const int  y,
const unit_map umap 
)
inline

Definition at line 197 of file variable.hpp.

Member Function Documentation

void scoped_xy_unit::activate ( )
virtual

Member Data Documentation

const unit_map& scoped_xy_unit::umap_
private

Definition at line 202 of file variable.hpp.

Referenced by activate().

const int scoped_xy_unit::x_
private

Definition at line 201 of file variable.hpp.

Referenced by activate().

const int scoped_xy_unit::y_
private

Definition at line 201 of file variable.hpp.

Referenced by activate().


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