Returns a [`MouseWheelState], which is a simplified version of cumulative mouse wheel events. When dealing with mouse wheel movement, you _usually_ don't want this...you want [`Engine::mouse_wheel_events`](crate::prelude::Engine::mouse_wheel_events) instead.
(&self)
| 145 | /// events. When dealing with mouse wheel movement, you _usually_ don't want this...you want |
| 146 | /// [`Engine::mouse_wheel_events`](crate::prelude::Engine::mouse_wheel_events) instead. |
| 147 | pub fn wheel(&self) -> MouseWheelState { |
| 148 | self.wheel |
| 149 | } |
| 150 | /// Returns true if the mouse button was pressed |
| 151 | pub fn pressed(&self, mouse_button: MouseButton) -> bool { |
| 152 | self.pressed.contains(&mouse_button) |