lotus_engine 0.3.2

Lotus is a game engine with the main focus of being easy-to-use and straight forward on developing 2D games.
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Trait with input related functions that should be implemented.
pub trait Input {
    /// Update input state.
    fn update_hashes(&mut self);

    /// Returns if some binding is pressed.
    fn is_some_pressed(&self) -> bool;

    /// Returns if some binding is released.
    fn is_some_released(&self) -> bool;
}