aboutsummaryrefslogtreecommitdiff
path: root/mwe/events/src/loopManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mwe/events/src/loopManager.cpp')
-rw-r--r--mwe/events/src/loopManager.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/mwe/events/src/loopManager.cpp b/mwe/events/src/loopManager.cpp
index c58a5e7..7be10df 100644
--- a/mwe/events/src/loopManager.cpp
+++ b/mwe/events/src/loopManager.cpp
@@ -51,8 +51,10 @@ void onKey(const KeyPressedEvent & e) {
std::cout << "keycode pressed: " << keyCode << std::endl;
}
void onMouse(const MousePressedEvent & e) {
- fprintf(stderr, "mouse Position X: %d Y: %d\n", e.getMousePosition().first,
- e.getMousePosition().second);
+ fprintf(
+ stderr, "mouse Position X: %d Y: %d\n", e.getMousePosition().first,
+ e.getMousePosition().second
+ );
}
void LoopManager::setup() {
gameRunning = window.initWindow();