Crate jugar_core

Crate jugar_core 

Source
Expand description

§jugar-core

Core ECS (Entity-Component-System), Game Loop, and State Management for Jugar.

This crate provides the foundational data structures and systems for the Jugar game engine. It follows Toyota Way principles:

  • Poka-Yoke: Type-safe entity/component relationships prevent invalid states
  • Heijunka: Fixed timestep game loop ensures physics consistency
  • Mieruka: Debug-friendly types with comprehensive Display/Debug impls

§Probar Integration

When the probar feature is enabled, this crate exposes introspection hooks for the Probar test runner. This allows debugging and testing of ECS state without modifying game behavior.

Re-exports§

pub use components::*;
pub use ecs::*;
pub use game_loop::*;

Modules§

components
Common game components for universal design
ecs
Entity-Component-System implementation
game_loop
Game loop with fixed timestep (Heijunka principle)

Enums§

CoreError
Errors that can occur in jugar-core

Type Aliases§

Result
Result type for jugar-core operations