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