Crate bones_lib

Crate bones_lib 

Source
Expand description

The core bones library.

Re-exports§

pub use instant;

Modules§

ecs
Bones ECS
prelude
Bones lib prelude
reset
Conveniences for resetting a World to its’ default state.
time
Time functionality for the Bones framework.

Structs§

DefaultSessionRunner
The default SessionRunner, which just runs the systems once every time it is run.
Game
The Game encompasses a complete bones game’s logic, independent of the renderer and IO implementations.
GameSystems
A collection of systems associated directly to a Game as opposed to a Session.
Session
Contains a bones World for state, SystemStages for behavior, and a SessionRunner to determine how those are used.
SessionOptions
Resource that allows you to configure the current session.
Sessions
Container for multiple game sessions.

Traits§

GamePlugin
Trait for plugins that can be installed into a Game.
SessionPlugin
Trait for plugins that can be installed into a Session.
SessionRunner
A session runner is in charge of advancing a Session simulation.

Type Aliases§

GameSystem
A system that runs directly on a Game instead of in a specific Session.
SessionCommand
Type of session command