Skip to content

class Actor

Ivan edited this page Mar 1, 2016 · 1 revision

Actor

##Description This class is inherited by sprite and it is basis for player and enemy.

Class members

Actor();
Actor(const int hp, const int mp=0);
int getHp();
void setHp(int hp);
void increaseHp(int hp);
void decreaseHp(int hp);
void increaseMana(int mp);
void decreaseMana(int mp);
int getMana();
void set(int hp);
void setStun();
bool isStun();
Clone this wiki locally