add map for SoundSystem and fix error in MusicComponent

This commit is contained in:
TrueBabyChaise
2021-06-08 10:45:36 +02:00
parent 57fd7fbbfa
commit 8c380e05b1
6 changed files with 37 additions and 45 deletions

View File

@@ -13,14 +13,14 @@
namespace BBM
{
class SoundManagerSystem : public WAL::System
class SoundManagerSystem : public WAL::System<SoundComponent, ControllableComponent, HealthComponent>
{
public:
//! @inherit
void onFixedUpdate(WAL::Entity &entity) override;
void onFixedUpdate(WAL::ViewEntity<SoundComponent, ControllableComponent, HealthComponent> &entity) override;
//! @brief ctor
SoundManagerSystem();
SoundManagerSystem(WAL::Wal &wal);
//! @brief Default copy ctor
SoundManagerSystem(const SoundManagerSystem &) = default;
//! @brief Default dtor