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

#include <buff.h>

Inheritance diagram for MindVision:
Collaboration diagram for MindVision:

Public Member Functions

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

Public Attributes

int distance
 
- Public Attributes inherited from Buff
Chartarget
 

Static Public Attributes

static const float DURATION = 20.0f
 
- Static Public Attributes inherited from Actor
static const int TICK = 1
 
static HashSet< Actor * > all
 

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

◆ MindVision()

MindVision::MindVision ( )
Here is the caller graph for this function:

Member Function Documentation

◆ CLASSNAME()

MindVision::CLASSNAME ( MindVision )
Here is the call graph for this function:

◆ detach()

void MindVision::detach ( )
virtual

Reimplemented from Buff.

Here is the call graph for this function:

◆ icon()

int MindVision::icon ( )
virtual

Reimplemented from Buff.

◆ toString()

virtual String MindVision::toString ( )
inlinevirtual

Reimplemented from FlavourBuff.

Here is the call graph for this function:

Member Data Documentation

◆ distance

int MindVision::distance

◆ DURATION

const float MindVision::DURATION = 20.0f
static

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