diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-05 17:11:09 +0100 | 
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-05 17:11:35 +0100 | 
| commit | 1f4e961d7f9d6887c807cac1a362f2d178b0860b (patch) | |
| tree | c786c952924be7cd3cb54d603d512323f8adfbc2 /src/crepe/system | |
| parent | ea764e4d4c8688953637f4afba96ec2223f5a7c1 (diff) | |
nitpick #55
Diffstat (limited to 'src/crepe/system')
| -rw-r--r-- | src/crepe/system/InputSystem.h | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/src/crepe/system/InputSystem.h b/src/crepe/system/InputSystem.h index 0c42bd6..87e86f8 100644 --- a/src/crepe/system/InputSystem.h +++ b/src/crepe/system/InputSystem.h @@ -24,14 +24,15 @@ public:  	using System::System;  	/** -     * \brief Updates the system, processing all input events. -     * This method processes all events and triggers corresponding actions. -     */ +	 * \brief Updates the system, processing all input events. +	 * This method processes all events and triggers corresponding actions. +	 */  	void update() override;  private:  	//! Stores the last position of the mouse when the button was pressed.  	ivec2 last_mouse_down_position; +	// TODO: specify world/hud space and make regular `vec2`  	//! Stores the last mouse button pressed.  	MouseButton last_mouse_button = MouseButton::NONE; |