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

#include <toxicgas.h>

Inheritance diagram for ToxicGas:
Collaboration diagram for ToxicGas:

Public Member Functions

virtual std::string getClassName ()
 
 CLASSOBJECT (ToxicGas)
 
virtual void use (BlobEmitter *emitter)
 
virtual std::string tileDesc ()
 
virtual void onDeath ()
 
- Public Member Functions inherited from Blob
virtual void storeInBundle (Bundle *bundle)
 
virtual void restoreFromBundle (Bundle *bundle)
 
virtual bool act ()
 
void seed (int cell, int amount)
 
void clear (int cell)
 
- Public Member Functions inherited from Actor
 Actor ()
 
int Id ()
 
void next ()
 
- Public Member Functions inherited from Object
virtual std::string getObject ()=0
 

Protected Member Functions

virtual void evolve ()
 
- Protected Member Functions inherited from Blob
 Blob ()
 
- 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 Blob
static Blobseed (int cell, int amount, const std::string &type)
 
- 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 Blob
int volume
 
std::vector< int > cur
 
BlobEmitteremitter
 
- Static Public Attributes inherited from Blob
static const int WIDTH = Level::WIDTH
 
static const int HEIGHT = Level::HEIGHT
 
static const int LENGTH = Level::LENGTH
 
- Static Public Attributes inherited from Actor
static const int TICK = 1
 
static HashSet< Actor * > all
 
- Protected Attributes inherited from Blob
std::vector< int > off
 

Member Function Documentation

◆ CLASSOBJECT()

ToxicGas::CLASSOBJECT ( ToxicGas )

◆ evolve()

void ToxicGas::evolve ( )
protectedvirtual

Reimplemented from Blob.

Here is the call graph for this function:

◆ getClassName()

virtual std::string ToxicGas::getClassName ( )
inlinevirtual
Here is the caller graph for this function:

◆ onDeath()

void ToxicGas::onDeath ( )
virtual

Implements HeroDoom.

Here is the call graph for this function:

◆ tileDesc()

std::string ToxicGas::tileDesc ( )
virtual

Reimplemented from Blob.

Here is the call graph for this function:

◆ use()

void ToxicGas::use ( BlobEmitter * emitter)
virtual

Reimplemented from Blob.

Here is the call graph for this function:

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