shine-input 0.2.1

SHINE. Input handling for the shine engine.
Documentation
1
2
3
4
5
6
7
8
use crate::State;
use std::any::Any;

pub trait Guesture: Send + Sync {
    fn as_any(&self) -> &Any;

    fn on_update(&mut self, prev_state: &State, state: &mut State);
}