Macro calx_ecs::Ecs
[−]
[src]
macro_rules! Ecs { { // Declare the type of the (plain old data) component and the // identifier to use for it in the ECS. $($compname:ident: $comptype:ty,)+ } => { ... }; }
Entity component system builder macro.
Defines a local Ecs
type that's parametrized with a custom component
store type with the component types you specify. Will also define a trait
Component
which will be implemented for the component types.