Eiyeron Fulmincendii %!s(int64=10) %!d(string=hai) anos
pai
achega
61c0b63440
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  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()