WorldSim  inDev
2D tile-based sandbox RPG with procedurally generated fantasy world simulator 🌏
Public Member Functions | Public Attributes | List of all members
Skill Class Reference

Public Member Functions

 Skill ()
 
void init (std::string _skillName, int _expToNext)
 
void addExp (int _amount)
 

Public Attributes

std::string skillName
 
int currentExp
 
int expToNext
 
int level
 
int maxLevel
 

Constructor & Destructor Documentation

◆ Skill()

Skill::Skill ( )
inline

Member Function Documentation

◆ addExp()

void Skill::addExp ( int  _amount)
inline

◆ init()

void Skill::init ( std::string  _skillName,
int  _expToNext 
)
inline

Member Data Documentation

◆ currentExp

int Skill::currentExp

◆ expToNext

int Skill::expToNext

◆ level

int Skill::level

◆ maxLevel

int Skill::maxLevel

◆ skillName

std::string Skill::skillName

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