My Project
 
Loading...
Searching...
No Matches
Shadows Class Reference

#include <buff.h>

Inheritance diagram for Shadows:
Collaboration diagram for Shadows:

Public Member Functions

virtual void storeInBundle (Bundle *bundle)
 
virtual void restoreFromBundle (Bundle *bundle)
 
virtual boolean attachTo (Char *target)
 
virtual void detach ()
 
virtual boolean act ()
 
void prolong ()
 
virtual int icon ()
 
virtual String toString ()
 
 CLASSNAME (Shadows)
 
- Public Member Functions inherited from Invisibility
 CLASSNAME (Invisibility)
 
- Public Member Functions inherited from FlavourBuff
virtual std::string getClassName ()
 
- Public Member Functions inherited from Buff
 Buff ()
 
- Public Member Functions inherited from Actor
 Actor ()
 
int Id ()
 
void next ()
 

Protected Attributes

float left
 

Additional Inherited Members

- Static Public Member Functions inherited from Invisibility
static void dispel ()
 
- 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 ()
 
- Public Attributes inherited from Buff
Chartarget
 
- Static Public Attributes inherited from Invisibility
static const float DURATION = 15.0f
 
- Static Public Attributes inherited from Actor
static const int TICK = 1
 
static HashSet< Actor * > all
 
- 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 ()
 

Member Function Documentation

◆ act()

boolean Shadows::act ( )
virtual

Reimplemented from FlavourBuff.

Here is the call graph for this function:

◆ attachTo()

boolean Shadows::attachTo ( Char * target)
virtual

Reimplemented from Invisibility.

Here is the call graph for this function:

◆ CLASSNAME()

Shadows::CLASSNAME ( Shadows )

◆ detach()

void Shadows::detach ( )
virtual

Reimplemented from Invisibility.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ icon()

int Shadows::icon ( )
virtual

Reimplemented from Invisibility.

◆ prolong()

void Shadows::prolong ( )
inline

◆ restoreFromBundle()

void Shadows::restoreFromBundle ( Bundle * bundle)
virtual

Reimplemented from Actor.

Here is the call graph for this function:

◆ storeInBundle()

void Shadows::storeInBundle ( Bundle * bundle)
virtual

Reimplemented from Actor.

Here is the call graph for this function:

◆ toString()

virtual String Shadows::toString ( )
inlinevirtual

Reimplemented from Invisibility.

Here is the call graph for this function:

Member Data Documentation

◆ left

float Shadows::left
protected

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