Removed the loadStatsView and loadFpsText because

they are essentially going away and because I 
couldn't see what changes were in this class to 
need the override.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9153 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
PSp..om 13 years ago
parent b89b2428af
commit 6240a51173
  1. 16
      engine/src/test/jme3test/post/TestLightScattering.java

@ -58,22 +58,6 @@ public class TestLightScattering extends SimpleApplication {
app.start();
}
public void loadFPSText(){
guiFont = assetManager.loadFont("Interface/Fonts/Default.fnt");
fpsText = new BitmapText(guiFont, false);
fpsText.setSize(guiFont.getCharSet().getRenderedSize());
fpsText.setLocalTranslation(0, fpsText.getLineHeight(), 0);
fpsText.setText("Frames per second");
guiNode.attachChild(fpsText);
}
public void loadStatsView(){
statsView = new StatsView("Statistics View", assetManager, renderer.getStatistics());
// move it up so it appears above fps text
statsView.setLocalTranslation(0, fpsText.getLineHeight(), 0);
guiNode.attachChild(statsView);
}
@Override
public void simpleInitApp() {
// put the camera in a bad position

Loading…
Cancel
Save