The Battle for Wesnoth  1.19.1+dev
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 443 of file types.hpp.

Constructor & Destructor Documentation

◆ unit_experience_accelerator()

unit_experience_accelerator::unit_experience_accelerator ( int  modifier)

Definition at line 561 of file types.cpp.

◆ ~unit_experience_accelerator()

unit_experience_accelerator::~unit_experience_accelerator ( )

Definition at line 567 of file types.cpp.

References old_value_.

Member Function Documentation

◆ get_acceleration()

int unit_experience_accelerator::get_acceleration ( )

Member Data Documentation

◆ old_value_

int unit_experience_accelerator::old_value_

Definition at line 448 of file types.hpp.

Referenced by ~unit_experience_accelerator().

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