2930313233343536373839
GL20 gl = Gdx.graphics.getGL20(); gl.glClear(GL20.GL_COLOR_BUFFER_BIT); fps.setText("" + Gdx.graphics.getFramesPerSecond()); road.update(v); road.render(stage.getCamera()); stage.act(); stage.draw(); }