|
@@ -41,6 +41,8 @@ public:
|
|
int getHealthPoints();
|
|
int getHealthPoints();
|
|
void setHealthPoints(int);
|
|
void setHealthPoints(int);
|
|
|
|
|
|
|
|
+ int getMaxHealthPoints();
|
|
|
|
+
|
|
int getMagicDefence();
|
|
int getMagicDefence();
|
|
int getPhysicDefence();
|
|
int getPhysicDefence();
|
|
|
|
|
|
@@ -175,6 +177,7 @@ protected:
|
|
|
|
|
|
//durability
|
|
//durability
|
|
int health_points_;
|
|
int health_points_;
|
|
|
|
+ int max_health_points_;
|
|
int magic_defence_; //less or equal 40
|
|
int magic_defence_; //less or equal 40
|
|
int physic_defence_; //less or equal 40
|
|
int physic_defence_; //less or equal 40
|
|
|
|
|