My Project
 
Loading...
Searching...
No Matches
Earthroot::Armor Class Reference

#include <plant.h>

Inheritance diagram for Earthroot::Armor:
Collaboration diagram for Earthroot::Armor:

Public Member Functions

virtual bool attachTo (Char *target)
 
virtual boolean act ()
 
int absorb (int damage)
 
void Level (int value)
 
virtual int icon ()
 
virtual String toString ()
 
virtual std::string getClassName ()
 
virtual void storeInBundle (Bundle *bundle)
 
virtual void restoreFromBundle (Bundle *bundle)
 
- Public Member Functions inherited from Buff
 Buff ()
 
virtual void detach ()
 
- Public Member Functions inherited from Actor
 Actor ()
 
int Id ()
 
void next ()
 

Public Attributes

int level
 
- Public Attributes inherited from Buff
Chartarget
 

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
 
- 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

◆ absorb()

int Earthroot::Armor::absorb ( int damage)
Here is the call graph for this function:

◆ act()

boolean Earthroot::Armor::act ( )
virtual

Reimplemented from Buff.

Here is the call graph for this function:

◆ attachTo()

bool Earthroot::Armor::attachTo ( Char * target)
virtual

Reimplemented from Buff.

Here is the call graph for this function:

◆ getClassName()

virtual std::string Earthroot::Armor::getClassName ( )
inlinevirtual

◆ icon()

int Earthroot::Armor::icon ( )
virtual

Reimplemented from Buff.

◆ Level()

void Earthroot::Armor::Level ( int value)
inline

◆ restoreFromBundle()

void Earthroot::Armor::restoreFromBundle ( Bundle * bundle)
virtual

Reimplemented from Actor.

Here is the call graph for this function:

◆ storeInBundle()

void Earthroot::Armor::storeInBundle ( Bundle * bundle)
virtual

Reimplemented from Actor.

Here is the call graph for this function:

◆ toString()

virtual String Earthroot::Armor::toString ( )
inlinevirtual

Implements Buff.

Member Data Documentation

◆ level

int Earthroot::Armor::level

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