Hp, Lvl en Xp gameplay toegevoegt

This commit is contained in:
Aaldert
2016-06-21 12:25:38 +02:00
parent 7c4805d899
commit 35c21260e4
7 changed files with 76 additions and 10 deletions
+7 -2
View File
@@ -7,6 +7,7 @@ class Player
{
private:
static Player* instance;
void levelUp();
public:
Player();
~Player();
@@ -23,10 +24,14 @@ public:
Model* leftWeapon;
Model* rightWeapon;
float health;
float xp;
float health, maxHp;
float xp, maxXp;
int level;
int crystals;
float speed;
void HpUp(int);
void HpDown(int);
void XpUp(int);
};