瀏覽代碼

TestAndroidSensors: add @Override annotations

Stephen Gold 4 年之前
父節點
當前提交
c60dc316e5
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      jme3-android-examples/src/main/java/jme3test/android/TestAndroidSensors.java

+ 2 - 2
jme3-android-examples/src/main/java/jme3test/android/TestAndroidSensors.java

@@ -228,7 +228,7 @@ public class TestAndroidSensors extends SimpleApplication implements ActionListe
         }
     }
 
-
+    @Override
     public void onAction(String string, boolean pressed, float tpf) {
        if (string.equalsIgnoreCase("MouseClick") && pressed) {
             // Calibrate the axis (set new zero position) if the axis
@@ -256,7 +256,7 @@ public class TestAndroidSensors extends SimpleApplication implements ActionListe
         }
     }
 
-
+    @Override
     public void onAnalog(String string, float value, float tpf) {
         logger.log(Level.INFO, "onAnalog for {0}, value: {1}, tpf: {2}",
                 new Object[]{string, value, tpf});