|
@@ -144,11 +144,11 @@ void Unit::setLocation(Cell* to) {
|
|
|
|
|
|
int Unit::getMaxHealthPoints(){
|
|
|
return max_health_points_;
|
|
|
-};
|
|
|
+}
|
|
|
|
|
|
-void setHealthPoints(int value){
|
|
|
+void Unit::setHealthPoints(int value){
|
|
|
health_points_ = value;
|
|
|
-};
|
|
|
+}
|
|
|
|
|
|
int Unit::getInitiative() {
|
|
|
return initiative_;
|