18 lines
388 B
C++
18 lines
388 B
C++
#include "scene.hpp"
|
|
|
|
#include <sophia/components.hpp>
|
|
#include <sophia/util/logger.hpp>
|
|
|
|
namespace sophia {
|
|
|
|
Scene::Scene() {
|
|
entt::entity entity = this->registry.create();
|
|
|
|
auto& a = this->registry.emplace<TransformComponent>(entity);
|
|
auto& b = this->registry.get<TransformComponent>(entity);
|
|
}
|
|
|
|
Scene::~Scene() { log::trace("destroying sophia::Scene"); }
|
|
|
|
} // namespace sophia
|