Trait pill_engine::game::Component[][src]

pub trait Component: PillTypeMapKey + Send {
    fn initialize(&mut self, engine: &mut Engine) -> Result<()> { ... }
fn pass_handles(
        &mut self,
        self_scene_handle: SceneHandle,
        self_entity_handle: EntityHandle
    ) { ... }
fn deferred_update(
        &mut self,
        engine: &mut Engine,
        request: usize
    ) -> Result<()> { ... }
fn destroy(
        &mut self,
        engine: &mut Engine,
        self_scene_handle: SceneHandle,
        self_entity_handle: EntityHandle
    ) -> Result<()> { ... } }

Provided methods

Implementors