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

#include <abilities.hpp>

Public Member Functions

 individual_effect ()
 
void set (value_modifier t, int val, const config *abil, const map_location &l)
 

Public Attributes

value_modifier type
 
int value
 
const configability
 
map_location loc
 

Detailed Description

Definition at line 30 of file abilities.hpp.

Constructor & Destructor Documentation

unit_abilities::individual_effect::individual_effect ( )
inline

Definition at line 32 of file abilities.hpp.

Member Function Documentation

void unit_abilities::individual_effect::set ( value_modifier  t,
int  val,
const config abil,
const map_location l 
)

Definition at line 984 of file abilities.cpp.

References ability.

Referenced by unit_abilities::effect::effect().

Member Data Documentation

const config* unit_abilities::individual_effect::ability

Definition at line 37 of file abilities.hpp.

Referenced by set().

map_location unit_abilities::individual_effect::loc

Definition at line 38 of file abilities.hpp.

value_modifier unit_abilities::individual_effect::type

Definition at line 35 of file abilities.hpp.

Referenced by unit_abilities::effect::effect().

int unit_abilities::individual_effect::value

Definition at line 36 of file abilities.hpp.


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