readding Movable component of bonuses

This commit is contained in:
Clément Le Bihan
2021-06-14 17:26:17 +02:00
parent 34eeb13286
commit 3eaa27003c

View File

@@ -81,6 +81,7 @@ namespace BBM
wal.getScene()->scheduleNewEntity("Bonus")
.addComponent<PositionComponent>(position)
.addComponent<TagComponent<Blowable>>()
.addComponent<MovableComponent>()
.addComponent<HealthComponent>(1, [](WAL::Entity &entity, WAL::Wal &wal) {
entity.scheduleDeletion();
})