Struct amethyst_input::InputSystem [] [src]

pub struct InputSystem<AX, AC> { /* fields omitted */ }

Input system

Will read winit::Event from EventHandler<winit::Event>, process them with InputHandler, and push the results in EventHandler<InputEvent>.

Methods

impl<AX, AC> InputSystem<AX, AC>
[src]

[src]

Create a new input system. Needs a reader id for EventHandler<winit::Event>.

Trait Implementations

impl<'a, AX, AC> System<'a> for InputSystem<AX, AC> where
    AX: Hash + Eq + Clone + Send + Sync + 'static,
    AC: Hash + Eq + Clone + Send + Sync + 'static, 
[src]

The resource bundle required to execute this system. Read more

[src]

Executes the system with the required system data. Read more

Returns a hint how long the system needs for running. This is used to optimize the way they're executed (might allow more parallelization). Read more