Started work on audio manager

Implemented soloud
This commit is contained in:
Antoine Pilote
2023-04-02 22:35:40 -04:00
parent 0bf4c2cb18
commit 1532724a5d
11 changed files with 164 additions and 22 deletions

View File

@@ -166,13 +166,15 @@ namespace Nuake {
{
std::vector<Entity> allEntities;
auto view = m_Registry.view<NameComponent>();
for (auto e : view)
for (auto& e : view)
{
Entity newEntity(e, this);
// Check if valid for deleted entities.
if (newEntity.IsValid())
{
allEntities.push_back(newEntity);
}
}
return allEntities;
}