[][src]Crate amethyst_core

A collection of structures and functions useful across the entire amethyst project.

Re-exports

pub use alga;
pub use approx;
pub use nalgebra as math;
pub use num_traits as num;
pub use shred;
pub use shrev;
pub use specs as ecs;
pub use crate::bundle::SystemBundle;
pub use crate::timing::*;
pub use crate::transform::*;

Modules

bundle

Provides a trait for adding bundles of systems to a dispatcher.

frame_limiter

Frame rate limiting.

timing

Utilities for working with time.

transform

amethyst transform ecs module

Structs

Float

A wrapper type around f32 and f64. It is used to hide the actual type being used internally. Mostly used with the Transform type. The default type is f32 and you can switch to the f64 type by enabling the "float64" feature gate.

Named

A component that gives a name to an Entity.

Pausable

A system that is enabled when V has a specific value.

Enums

Axis2

A two dimensional axis.

Axis3

A three dimensional axis.

Traits

EventReader

Read events generically

SystemExt

Extension functionality associated systems.

WithNamed

An easy way to name an Entity and give it a Named Component.

Type Definitions

ArcThreadPool

A rayon thread pool wrapped in an Arc. This should be used as resource in World.