Change background to black, paddle to white

This commit is contained in:
Matt Low 2018-11-22 17:31:00 +04:00
parent 36ae71afeb
commit 28eb4149ee
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ public class BrickBuster extends Game {
@Override @Override
public void render () { public void render () {
Gdx.gl.glClearColor(0.5f,1,1,1); Gdx.gl.glClearColor(0f,0f,0f,1);
Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT); Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
// Render the current Screen (State) // Render the current Screen (State)
super.render(); super.render();

View File

@ -21,7 +21,7 @@ import net.dermetfan.utils.Pair;
public class Paddle extends Entity implements PhysicsBody { public class Paddle extends Entity implements PhysicsBody {
public static final Color STICKY_COLOR = Color.GRAY; public static final Color STICKY_COLOR = Color.GRAY;
public static final Color PADDLE_COLOR = Color.BLACK; public static final Color PADDLE_COLOR = Color.WHITE;
public static final float DEFAULT_WIDTH = 7.5f; public static final float DEFAULT_WIDTH = 7.5f;
public static final float PADDLE_HEIGHT = 0.75f; public static final float PADDLE_HEIGHT = 0.75f;