|
Capycore Engine
0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
|
Aggregates all mouse-related state information. More...
#include <mouse_state.h>
Public Member Functions | |
| void | reset () |
Public Attributes | |
| Point | position = Point(0, 0) |
| float | delta_x = 0.0f |
| float | delta_y = 0.0f |
| std::map< MouseButton, MouseButtonState > | buttons |
| MouseWheelState | wheel |
Aggregates all mouse-related state information.
Encapsulates position, button states, and wheel movement into a single structure. Intended for per-frame input tracking and polling through IInputProvider.
| void MouseState::reset | ( | ) |
| std::map<MouseButton, MouseButtonState> MouseState::buttons |
| float MouseState::delta_x = 0.0f |
| float MouseState::delta_y = 0.0f |
| MouseWheelState MouseState::wheel |