2024-02-13 00:15:18 +01:00
|
|
|
#pragma once
|
|
|
|
|
2024-02-15 15:06:51 +01:00
|
|
|
#include <entt/entity/registry.hpp>
|
|
|
|
|
2024-02-13 00:15:18 +01:00
|
|
|
#include <cstdint>
|
|
|
|
|
|
|
|
// internal id
|
|
|
|
enum class FragmentID : uint32_t {};
|
2024-02-15 15:06:51 +01:00
|
|
|
using FragmentRegistry = entt::basic_registry<FragmentID>;
|
|
|
|
using FragmentHandle = entt::basic_handle<FragmentRegistry>;
|
2024-02-13 00:15:18 +01:00
|
|
|
|
|
|
|
struct FragmentStoreI {
|
|
|
|
virtual ~FragmentStoreI(void) {}
|
|
|
|
};
|
|
|
|
|