The Battle for Wesnoth  1.19.7+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 444 of file types.hpp.

Constructor & Destructor Documentation

◆ unit_experience_accelerator()

unit_experience_accelerator::unit_experience_accelerator ( int  modifier)

Definition at line 563 of file types.cpp.

◆ ~unit_experience_accelerator()

unit_experience_accelerator::~unit_experience_accelerator ( )

Definition at line 569 of file types.cpp.

References old_value_.

Member Function Documentation

◆ get_acceleration()

int unit_experience_accelerator::get_acceleration ( )
static

Definition at line 574 of file types.cpp.

Referenced by gui2::unit_preview_pane::set_display_data(), and unit_xp().

Member Data Documentation

◆ old_value_

int unit_experience_accelerator::old_value_
private

Definition at line 449 of file types.hpp.

Referenced by ~unit_experience_accelerator().


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