Add update loop
This commit is contained in:
parent
dd6aa7da5f
commit
c9fda66879
@ -18,11 +18,12 @@ public class BrickBuster extends ApplicationAdapter {
|
||||
@Override
|
||||
public void create () {
|
||||
this.shapeRenderer = new ShapeRenderer();
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void render () {
|
||||
update(Gdx.graphics.getDeltaTime());
|
||||
|
||||
Gdx.gl.glClearColor(0.5f,1,1,1);
|
||||
Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
|
||||
this.shapeRenderer.begin(ShapeType.Filled);
|
||||
@ -32,6 +33,11 @@ public class BrickBuster extends ApplicationAdapter {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update(float dt) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void dispose () {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user