Fix compile error

This commit is contained in:
ArthurSonzogni
2023-11-05 11:44:36 +01:00
parent 4bf4c36519
commit a5207536a9
2 changed files with 14 additions and 17 deletions

View File

@@ -24,9 +24,9 @@ struct Mouse {
};
// Utility function to check the variations of the mouse state.
bool IsPressed(Button button = Left) const;
bool IsHeld(Button button = Left) const;
bool IsReleased(Button button = Left) const;
bool IsPressed(Button btn = Left) const; // Released => Pressed.
bool IsHeld(Button btn = Left) const; // Pressed => Pressed.
bool IsReleased(Button btn = Left) const; // Pressed => Released.
// Button
Button button = Button::None;