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