// ============================================= // Aster: ecs_adapter.h // Copyright (c) 2020-2024 Anish Bhobe // ============================================= #pragma once #include using EcsRegistry = entt::registry; using Entity = entt::entity; template using Without = entt::exclude_t; template using Get = entt::get_t; [[nodiscard]] inline bool Exists(Entity entity) { return entity != entt::null; } constexpr Entity NULL_ENTITY = entt::null;