Planeshift
Public Member Functions | Protected Attributes

Multiplier Class Reference

Multipliers. More...

#include <buffable.h>

List of all members.

Public Member Functions

void Buff (const ActiveSpell *owner, float x)
virtual void Cancel (const ActiveSpell *owner)
 Multiplier ()
float Value ()
virtual ~Multiplier ()

Protected Attributes

csList< csTuple2< const
ActiveSpell *, float > > 
buffs
float cached

Detailed Description

Multipliers.

While most things are additive, some are purely multiplier values - for example, attack and defense modifiers. This is fully analogous to buffables, multiplicative.

Definition at line 229 of file buffable.h.


Constructor & Destructor Documentation

Multiplier::Multiplier ( ) [inline]

Definition at line 232 of file buffable.h.

virtual Multiplier::~Multiplier ( ) [inline, virtual]

Definition at line 236 of file buffable.h.


Member Function Documentation

void Multiplier::Buff ( const ActiveSpell owner,
float  x 
) [inline]

Definition at line 243 of file buffable.h.

virtual void Multiplier::Cancel ( const ActiveSpell owner) [inline, virtual]

Implements iSpellModifier.

Definition at line 249 of file buffable.h.

float Multiplier::Value ( ) [inline]

Definition at line 238 of file buffable.h.


Member Data Documentation

csList< csTuple2<const ActiveSpell*, float> > Multiplier::buffs [protected]

Definition at line 271 of file buffable.h.

Definition at line 270 of file buffable.h.


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