Trait aecs::System
[−]
[src]
pub trait System<Context> {
fn handle(&mut self, ctx: &mut Context, entity: &Entity) -> bool;
fn bitmask(&self) -> u64;
}The system trait
Required Methods
fn handle(&mut self, ctx: &mut Context, entity: &Entity) -> bool
Processes an entity
fn bitmask(&self) -> u64
Specifies the bitmask which determines the entities this system should handle