Fix documentation and remove friend keyword

Remove friend keyword and put variables in public instead
Fix documentation where the name of the component is not specified

Co-Authored-By: Benjamin HENRY <44569175+EternalRat@users.noreply.github.com>
This commit is contained in:
TrueBabyChaise
2021-05-21 15:11:03 +02:00
parent 54cb40aa0b
commit 80e9d674e9
6 changed files with 45 additions and 48 deletions
+2 -2
View File
@@ -36,8 +36,8 @@ namespace BBM
this->_healthPoint -= damage;
}
void HealthComponent::die(void)
unsigned int HealthComponent::getHealthPoint(void) const
{
this->_entity.setDisable(true);
return (this->_healthPoint);
}
}