Struct amethyst_controls::FlyControlBundle[][src]

pub struct FlyControlBundle<A, B> { /* fields omitted */ }

The bundle that creates a flying movement system. Note: Will not actually create a moving entity. It will only register the needed resources and systems. The generic parameters A and B are the ones used in InputHandler<A,B>. You might want to add "fly_movement" and "free_rotation" as dependencies of the TransformSystem. Adding this bundle will grab the mouse, hide it and keep it centered.

Methods

impl<A, B> FlyControlBundle<A, B>
[src]

Trait Implementations

impl<'a, 'b, A, B> SystemBundle<'a, 'b> for FlyControlBundle<A, B> where
    A: Send + Sync + Hash + Eq + Clone + 'static,
    B: Send + Sync + Hash + Eq + Clone + 'static, 
[src]

Build and add ECS resources, register components, add systems etc to the Application.

Auto Trait Implementations

impl<A, B> Send for FlyControlBundle<A, B> where
    A: Send,
    B: Send

impl<A, B> Sync for FlyControlBundle<A, B> where
    A: Sync,
    B: Sync