Skip to main content

Crate dirk_universe

Crate dirk_universe 

Source
Expand description

§universe

This crate holds the entire universe.

The Universe is DirkEngine’s ECS system.

Modules§

components
This module has all the traits & structs required for component storage and creation.
query
This module handles querying entities from a World based on what components they have (or don’t have).
systems
This crate has all the traits for the ECS Systems.

Structs§

CommandBuffer
A buffer to record edits to the [Universe].
Entity
A unique, opaque identifier for a spawned entity.
EntityBuilder
A builder struct to create a new entity. Allows adding of components.
Universe
This struct is the manager for all the worlds.
UniverseBuilder
Builder struct used to construct a Universe.
World
This is a world. It has entities and components.
WorldBuilder
Builder struct for World.
WorldId
An identifier that distinguishes multiple World instances from each other.