Add health/xp/level interface

This commit is contained in:
2016-05-28 16:04:44 +02:00
parent 34ea491f39
commit ae80c7a5bf
16 changed files with 289 additions and 54 deletions
+3
View File
@@ -8,6 +8,9 @@ Player* Player::instance = NULL;
Player::Player()
{
speed = 10;
health = 50;
xp = 75;
level = 10;
}
Player* Player::getInstance()