浏览代码

Use the display flag setters and removed the
clearing of secondsCounter since I couldn't see
that it was used anywhere.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9155 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

PSp..om 13 年之前
父节点
当前提交
4e616d9360
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      engine/src/test/jme3test/input/combomoves/TestComboMoves.java

+ 2 - 3
engine/src/test/jme3test/input/combomoves/TestComboMoves.java

@@ -74,8 +74,8 @@ public class TestComboMoves extends SimpleApplication implements ActionListener
 
     @Override
     public void simpleInitApp() {
-        fpsText.setCullHint(CullHint.Always);
-        statsView.setCullHint(CullHint.Always);
+        setDisplayFps(false);
+        setDisplayStatView(false);
 
         // Create debug text
         BitmapText helpText = new BitmapText(guiFont);
@@ -145,7 +145,6 @@ public class TestComboMoves extends SimpleApplication implements ActionListener
     @Override
     public void simpleUpdate(float tpf){
         time += tpf;
-        secondCounter = 0;
 
         // check every frame if any executions are expired
         shurikenExec.updateExpiration(time);