mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-11 04:48:33 +00:00
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:
@@ -19,7 +19,7 @@ namespace BBM
|
||||
{
|
||||
auto &health = entity.getComponent<HealthComponent>();
|
||||
|
||||
if (health._healthPoint == 0);
|
||||
health.die();
|
||||
if (health.getHealthPoint() == 0);
|
||||
entity.setDisable(true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user