My Project
 
Loading...
Searching...
No Matches
Wand::Charger Class Reference

#include <wand.h>

Inheritance diagram for Wand::Charger:
Collaboration diagram for Wand::Charger:

Public Member Functions

virtual std::string getClassName ()
 
virtual std::string toString ()
 
virtual bool attachTo (Char *target)
 
virtual bool act ()
 
 Charger (Wand *wa)
 
- Public Member Functions inherited from Buff
 Buff ()
 
virtual void detach ()
 
virtual int icon ()
 
- Public Member Functions inherited from Actor
 Actor ()
 
virtual void storeInBundle (Bundle *bundle)
 
virtual void restoreFromBundle (Bundle *bundle)
 
int Id ()
 
void next ()
 

Public Attributes

Wandw
 
- Public Attributes inherited from Buff
Chartarget
 

Protected Member Functions

void delay ()
 
- Protected Member Functions inherited from Actor
virtual void spend (float time)
 
void postpone (float time)
 
float cooldown ()
 
void diactivate ()
 
virtual void onAdd ()
 
virtual void onRemove ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Buff
static Buffappend (Char *target, const std::string &buff)
 
static FlavourBuffappend (Char *target, const std::string &buffClass, float duration)
 
static Buffaffect (Char *target, const std::string &buffClass)
 
static FlavourBuffaffect (Char *target, const std::string &buffClass, float duration)
 
static FlavourBuffprolong (Char *target, const std::string &buffClass, float duration)
 
static void detach (Buff *buff)
 
static void detach (Char *target, const std::string &cl)
 
- Static Public Member Functions inherited from Actor
static void fixTime ()
 
static void clear ()
 
static CharfindChar (int pos)
 
static ActorfindById (int id)
 
static void init ()
 
static void addDelayed (Actor *actor, float delay)
 
static void remove (Actor *actor)
 
static void add (Actor *actor)
 
static void occupyCell (Char *ch)
 
static void freeCell (int pos)
 
static void process ()
 
- Static Public Attributes inherited from Actor
static const int TICK = 1
 
static HashSet< Actor * > all
 

Constructor & Destructor Documentation

◆ Charger()

Wand::Charger::Charger ( Wand * wa)
inline
Here is the call graph for this function:

Member Function Documentation

◆ act()

bool Wand::Charger::act ( )
virtual

Reimplemented from Buff.

Here is the call graph for this function:

◆ attachTo()

virtual bool Wand::Charger::attachTo ( Char * target)
inlinevirtual

Reimplemented from Buff.

Here is the call graph for this function:

◆ delay()

void Wand::Charger::delay ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getClassName()

virtual std::string Wand::Charger::getClassName ( )
inlinevirtual

◆ toString()

virtual std::string Wand::Charger::toString ( )
inlinevirtual

Implements Buff.

Member Data Documentation

◆ w

Wand* Wand::Charger::w

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