Add missing event_system implementation
This commit is contained in:
parent
d2e70481ce
commit
4a0098445a
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,7 @@ pub struct InputMap {
|
||||||
pub direction_mapping: HashMap<Keycode, GuiDirection>,
|
pub direction_mapping: HashMap<Keycode, GuiDirection>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub trait EventSystem<Func, T> {
|
pub trait EventSystem<Func, C> {
|
||||||
fn event_system(world_builder: &mut WorldBuilder, func: Func);
|
fn event_system(world_builder: &mut WorldBuilder, func: Func);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -405,6 +405,7 @@ macro_rules! impl_event_system {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl_event_system!();
|
impl_event_system!();
|
||||||
|
impl_event_system!(A,);
|
||||||
impl_event_system!(A, B,);
|
impl_event_system!(A, B,);
|
||||||
impl_event_system!(A, B, C,);
|
impl_event_system!(A, B, C,);
|
||||||
impl_event_system!(A, B, C, D,);
|
impl_event_system!(A, B, C, D,);
|
||||||
|
|
Loading…
Reference in a new issue