loading fragments mostly working (not notifying anyone yet)

This commit is contained in:
2024-02-15 15:06:51 +01:00
parent d278391528
commit 0b0245d844
5 changed files with 241 additions and 5 deletions

View File

@@ -1,9 +1,13 @@
#pragma once
#include <entt/entity/registry.hpp>
#include <cstdint>
// internal id
enum class FragmentID : uint32_t {};
using FragmentRegistry = entt::basic_registry<FragmentID>;
using FragmentHandle = entt::basic_handle<FragmentRegistry>;
struct FragmentStoreI {
virtual ~FragmentStoreI(void) {}