[][src]Trait keeshond::scene::DrawerSystem

pub trait DrawerSystem {
    fn draw(
        &self,
        components: &ComponentControl,
        renderer: &mut RendererControl,
        transform: &Mat3,
        interpolation: f32
    ); }

A system that handles drawing logic every frame, typically giving Entities behaviors based on which Components they have. Mutable access to the Components is not permitted, as this could lead to behavior that is framerate-dependent.

Required methods

fn draw(
    &self,
    components: &ComponentControl,
    renderer: &mut RendererControl,
    transform: &Mat3,
    interpolation: f32
)

Loading content...

Implementors

Loading content...