My Project
 
Loading...
Searching...
No Matches
Viscosity::DeferedDamage Class Reference

#include <armor.h>

Inheritance diagram for Viscosity::DeferedDamage:
Collaboration diagram for Viscosity::DeferedDamage:

Public Member Functions

 DeferedDamage ()
 
 CLASSOBJECT (DeferedDamage)
 
virtual std::string getClassName ()
 
virtual void storeInBundle (Bundle *bundle)
 
virtual void restoreFromBundle (Bundle *bundle)
 
virtual boolean attachTo (Char *target)
 
void prolong (int damage)
 
virtual int icon ()
 
virtual String toString ()
 
virtual boolean act ()
 
- Public Member Functions inherited from Buff
 Buff ()
 
virtual void detach ()
 
- Public Member Functions inherited from Actor
 Actor ()
 
int Id ()
 
void next ()
 
- Public Member Functions inherited from Object
virtual std::string getObject ()=0
 

Protected Attributes

int damage
 

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 ()
 
- Public Attributes inherited from Buff
Chartarget
 
- 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 ()
 

Constructor & Destructor Documentation

◆ DeferedDamage()

Viscosity::DeferedDamage::DeferedDamage ( )
Here is the caller graph for this function:

Member Function Documentation

◆ act()

boolean Viscosity::DeferedDamage::act ( )
virtual

Reimplemented from Buff.

Here is the call graph for this function:

◆ attachTo()

boolean Viscosity::DeferedDamage::attachTo ( Char * target)
virtual

Reimplemented from Buff.

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

◆ CLASSOBJECT()

Viscosity::DeferedDamage::CLASSOBJECT ( DeferedDamage )
Here is the call graph for this function:

◆ getClassName()

virtual std::string Viscosity::DeferedDamage::getClassName ( )
inlinevirtual

◆ icon()

int Viscosity::DeferedDamage::icon ( )
virtual

Reimplemented from Buff.

◆ prolong()

void Viscosity::DeferedDamage::prolong ( int damage)
inline
Here is the caller graph for this function:

◆ restoreFromBundle()

void Viscosity::DeferedDamage::restoreFromBundle ( Bundle * bundle)
virtual

Reimplemented from Actor.

Here is the call graph for this function:

◆ storeInBundle()

void Viscosity::DeferedDamage::storeInBundle ( Bundle * bundle)
virtual

Reimplemented from Actor.

Here is the call graph for this function:

◆ toString()

String Viscosity::DeferedDamage::toString ( )
virtual

Implements Buff.

Here is the call graph for this function:

Member Data Documentation

◆ damage

int Viscosity::DeferedDamage::damage
protected

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