Add health/xp/level interface
This commit is contained in:
@@ -8,6 +8,9 @@ Player* Player::instance = NULL;
|
||||
Player::Player()
|
||||
{
|
||||
speed = 10;
|
||||
health = 50;
|
||||
xp = 75;
|
||||
level = 10;
|
||||
}
|
||||
|
||||
Player* Player::getInstance()
|
||||
|
||||
Reference in New Issue
Block a user