moirai-for-games 0.1.0

A small deterministic no_std ECS for constrained and headless games
Documentation
1
2
3
4
5
6
7
8
9
10
//! Entity identity and generational allocation for one [`crate::world::World`].
//!
//! [`EntityId`] is the public opaque handle. Allocation and slot lifecycle live in the private
//! generational allocator used by spawn, reserve, and despawn paths.

mod allocator;
mod id;

pub(crate) use allocator::{AllocatorError, EntityAllocator};
pub use id::EntityId;