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

#include <types.hpp>

Public Member Functions

 unit_experience_accelerator (int modifier)
 
 ~unit_experience_accelerator ()
 

Static Public Member Functions

static int get_acceleration ()
 

Private Attributes

int old_value_
 

Detailed Description

Definition at line 360 of file types.hpp.

Constructor & Destructor Documentation

unit_experience_accelerator::unit_experience_accelerator ( int  modifier)

Definition at line 499 of file types.cpp.

unit_experience_accelerator::~unit_experience_accelerator ( )

Definition at line 504 of file types.cpp.

References old_value_.

Member Function Documentation

int unit_experience_accelerator::get_acceleration ( )
static

Definition at line 509 of file types.cpp.

Referenced by unit::apply_modifications(), and unit_xp().

Member Data Documentation

int unit_experience_accelerator::old_value_
private

Definition at line 365 of file types.hpp.

Referenced by ~unit_experience_accelerator().


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