Reworking the view

This commit is contained in:
Zoe Roux
2021-06-03 18:20:37 +02:00
parent ae2e419832
commit 0d37a560d7
16 changed files with 141 additions and 62 deletions
+16
View File
@@ -10,8 +10,24 @@ namespace WAL
{
return this->_entities;
}
Scene &Scene::operator=(const Scene &)
{
return *this;
}
Entity &Scene::addEntity(const std::string &name)
{
return this->_entities.emplace_back(*this, name);
}
void Scene::_componentAdded(const Entity &entity, std::type_index type)
{
}
void Scene::_componentRemoved(const Entity &entity, std::type_index type)
{
}
} // namespace WAL