mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-29 17:02:11 +00:00
Making walls breakables
This commit is contained in:
@@ -13,9 +13,10 @@ namespace BBM
|
||||
_healthPoint()
|
||||
{}
|
||||
|
||||
HealthComponent::HealthComponent(WAL::Entity &entity, unsigned int healthPoint)
|
||||
HealthComponent::HealthComponent(WAL::Entity &entity, unsigned int healthPoint, WAL::Callback<WAL::Entity &> onDeath)
|
||||
: WAL::Component(entity),
|
||||
_healthPoint(healthPoint)
|
||||
_healthPoint(healthPoint),
|
||||
onDeath(onDeath)
|
||||
{}
|
||||
|
||||
WAL::Component *HealthComponent::clone(WAL::Entity &entity) const
|
||||
|
||||
Reference in New Issue
Block a user