-
Notifications
You must be signed in to change notification settings - Fork 0
class Actor
Ivan edited this page Mar 1, 2016
·
1 revision
##Description This class is inherited by sprite and it is basis for player and enemy.
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();