mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-21 13:55:10 +00:00
33 lines
513 B
C++
33 lines
513 B
C++
//
|
|
// Created by Zoe Roux on 2021-05-14.
|
|
//
|
|
|
|
#include "Scene.hpp"
|
|
|
|
namespace WAL
|
|
{
|
|
std::vector<Entity> &Scene::getEntities()
|
|
{
|
|
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
|