#include <HealthComponent.hpp>
HealthComponent::HealthComponent |
( |
unsigned int |
maxHealth | ) |
|
Creates a health component with the given maximumHealth.
HealthComponent::~HealthComponent |
( |
| ) |
|
void HealthComponent::HealthDown |
( |
| ) |
|
Reduces this component's health by one. If this reduces it to zero end the game.
void HealthComponent::Update |
( |
float |
deltaTime | ) |
|
|
virtual |
bool HealthComponent::invincible |
The documentation for this class was generated from the following files:
- D:/Ryan_Temp/GithubProjects/platformer-linux_gang/Game/game/include/component_system/HealthComponent.hpp
- D:/Ryan_Temp/GithubProjects/platformer-linux_gang/Game/game/src/component_system/HealthComponent.cpp