浏览代码

Some format

Eiyeron Fulmincendii 10 年之前
父节点
当前提交
61c0b63440
共有 1 个文件被更改,包括 4 次插入2 次删除
  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()