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
This commit is contained in:
parent
500896e935
commit
4e616d9360
@ -74,8 +74,8 @@ public class TestComboMoves extends SimpleApplication implements ActionListener
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void simpleInitApp() {
|
public void simpleInitApp() {
|
||||||
fpsText.setCullHint(CullHint.Always);
|
setDisplayFps(false);
|
||||||
statsView.setCullHint(CullHint.Always);
|
setDisplayStatView(false);
|
||||||
|
|
||||||
// Create debug text
|
// Create debug text
|
||||||
BitmapText helpText = new BitmapText(guiFont);
|
BitmapText helpText = new BitmapText(guiFont);
|
||||||
@ -145,7 +145,6 @@ public class TestComboMoves extends SimpleApplication implements ActionListener
|
|||||||
@Override
|
@Override
|
||||||
public void simpleUpdate(float tpf){
|
public void simpleUpdate(float tpf){
|
||||||
time += tpf;
|
time += tpf;
|
||||||
secondCounter = 0;
|
|
||||||
|
|
||||||
// check every frame if any executions are expired
|
// check every frame if any executions are expired
|
||||||
shurikenExec.updateExpiration(time);
|
shurikenExec.updateExpiration(time);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user