deleted bad texture

This commit is contained in:
HENRY Benjamin
2021-06-09 16:16:48 +02:00
parent 9c1190be30
commit 99729153a3
2 changed files with 0 additions and 7 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

@@ -33,13 +33,6 @@ namespace BBM
return;
if (pos->position.distance(bombPosition.position) > BombHolderSystem::explosionRadius)
return;
wal.scene->scheduleNewEntity("explosion")
.addComponent<PositionComponent>(pos->position)
.addComponent<TimerComponent>(1s, [](WAL::Entity &explosion, WAL::Wal &wal) {
explosion.scheduleDeletion();
})
.addComponent<Drawable3DComponent, RAY3D::Model>("assets/bombs/explosion/explosion.glb",
std::make_pair(MAP_DIFFUSE, "assets/bombs/explosion/explosion.png"));
// TODO do a raycast here to only remove health to entities that are not behind others.
health->takeDmg(1);
});