Recast  1
Game with custom magic
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
GeneratorNode Class Reference

#include <GeneratorNode.h>

Inheritance diagram for GeneratorNode:
Inheritance graph
Collaboration diagram for GeneratorNode:
Collaboration graph

Public Member Functions

 GeneratorNode (float x, float y, float z, float energy)
 
- Public Member Functions inherited from EnergyNode
 EnergyNode (float x, float y, float z, float energy)
 
 EnergyNode (NodeType type, float x, float y, float z, float energy)
 
virtual bool isEnergyNode ()
 
float getEnergy () const
 
virtual float transferEnergy (SpellNode *from, float count)
 
- Public Member Functions inherited from SpellNode
 SpellNode (NodeType type, float x, float y, float z)
 
 ~SpellNode ()
 
void connectNode (SpellNode *otherNode)
 
void tick (IEventListener &listener, SpellNode *callable)
 
bool inTick () const
 
float getDistance (const SpellNode *otherNode) const
 
NodeType getType () const
 
void iterrator (std::function< void(SpellNode *)> next)
 
std::set< SpellNode * > & getConnectedNodes ()
 
float getX () const
 
float getY () const
 
float getZ () const
 

Additional Inherited Members

- Static Public Member Functions inherited from SpellNode
static void write (Parcel &in, SpellNode *obj)
 
static SpellNoderead (Parcel &out)
 
- Protected Attributes inherited from EnergyNode
float energy = 0
 
- Protected Attributes inherited from SpellNode
float x
 
float y
 
float z
 
std::set< SpellNode * > connectedNodes
 
bool nowInTick
 
NodeType type
 

Constructor & Destructor Documentation

GeneratorNode::GeneratorNode ( float  x,
float  y,
float  z,
float  energy 
)

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