Skill Class Reference

#include <skill.h>

List of all members.

Public Member Functions

 Skill (const std::string &ident)
virtual ~Skill ()
bool addSkill (const std::string &, Skill *)
bool deleteSkill (const std::string &, bool delTree=false)
bool useSkill ()
bool setScript (const std::string &)
void printTree (const std::string &indent)

Private Attributes

std::string id
std::string description
std::vector< Skill * > children
float light
float dark
float life
float death


Constructor & Destructor Documentation

Skill::Skill const std::string &  ident  ) 
 

Definition at line 27 of file skill.cpp.

Skill::~Skill  )  [virtual]
 

Definition at line 35 of file skill.cpp.


Member Function Documentation

bool Skill::addSkill const std::string &  ,
Skill
 

Definition at line 44 of file skill.cpp.

bool Skill::deleteSkill const std::string &  ,
bool  delTree = false
 

Definition at line 76 of file skill.cpp.

void Skill::printTree const std::string &  indent  )  [inline]
 

Definition at line 99 of file skill.h.

bool Skill::setScript const std::string &   ) 
 

Definition at line 71 of file skill.cpp.

bool Skill::useSkill  ) 
 

Definition at line 60 of file skill.cpp.


Member Data Documentation

std::vector<Skill*> Skill::children [private]
 

Definition at line 49 of file skill.h.

float Skill::dark [private]
 

Definition at line 55 of file skill.h.

float Skill::death [private]
 

Definition at line 57 of file skill.h.

std::string Skill::description [private]
 

Definition at line 44 of file skill.h.

std::string Skill::id [private]
 

Definition at line 39 of file skill.h.

float Skill::life [private]
 

Definition at line 56 of file skill.h.

float Skill::light [private]
 

Definition at line 54 of file skill.h.


The documentation for this class was generated from the following files:
Generated on Fri Mar 30 15:39:18 2007 for TMW Server by  doxygen 1.3.9.1