Eiyeron Fulmincendii vor 10 Jahren
Ursprung
Commit
61c0b63440
1 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen
  1. 4 2
      platform/sfml/Input.cpp

+ 4 - 2
platform/sfml/Input.cpp

@@ -7,7 +7,8 @@ using sf::Keyboard;
 
 bool INPUT::key_a()
 {
-    return window.hasFocus() && (Keyboard::isKeyPressed(Keyboard::W) || Keyboard::isKeyPressed(Keyboard::Z));
+    return window.hasFocus() &&
+           (Keyboard::isKeyPressed(Keyboard::W) || Keyboard::isKeyPressed(Keyboard::Z));
 }
 
 bool INPUT::key_b()
@@ -17,7 +18,8 @@ bool INPUT::key_b()
 
 bool INPUT::key_l()
 {
-    return window.hasFocus() && (Keyboard::isKeyPressed(Keyboard::Q) || Keyboard::isKeyPressed(Keyboard::A));
+    return window.hasFocus() &&
+           (Keyboard::isKeyPressed(Keyboard::Q) || Keyboard::isKeyPressed(Keyboard::A));
 }
 
 bool INPUT::key_r()