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
@@ -19,7 +19,7 @@ namespace BBM
{
auto &health = entity.getComponent<HealthComponent>();
if (health._healthPoint == 0);
health.die();
if (health.getHealthPoint() == 0);
entity.setDisable(true);
}
}