Trait Plugin

Source
pub trait Plugin {
    // Required methods
    fn event_systems(&self) -> Vec<EventSystem>;
    fn logic_systems(&self) -> Vec<LogicSystem>;
    fn gui_systems(&self) -> Vec<GuiSystem>;
    fn autorun(&self) -> bool;
}
Expand description

Trait for defining a plugin for gloss, to be used when defining Plugins in external crates This is FFI safe

Required Methods§

Implementors§