Moved paddle down

This commit is contained in:
Matt Low 2018-11-11 12:00:08 +04:00
parent 203e3311b7
commit 733f75830f
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ public class Ball extends Entity {
public void render() { public void render() {
getShapeRenderer().begin(ShapeRenderer.ShapeType.Filled); getShapeRenderer().begin(ShapeRenderer.ShapeType.Filled);
getShapeRenderer().setColor(BALL_COLOR); getShapeRenderer().setColor(BALL_COLOR);
getShapeRenderer().circle(this.getX(), this.getY(), RADIUS, 50); getShapeRenderer().circle(this.getX(), this.getY(), RADIUS);
getShapeRenderer().end(); getShapeRenderer().end();
} }

View File

@ -11,7 +11,7 @@ public class Paddle extends Entity {
public static final Color PADDLE_COLOR = Color.BLACK; public static final Color PADDLE_COLOR = Color.BLACK;
public static final int PADDLE_WIDTH = 100; public static final int PADDLE_WIDTH = 100;
public static final int PADDLE_HEIGHT = 16; public static final int PADDLE_HEIGHT = 16;
public static final int PADDLE_Y = 50; public static final int PADDLE_Y = 25;
public Paddle(BrickBuster brickBuster) { public Paddle(BrickBuster brickBuster) {
super(brickBuster, BrickBuster.WIDTH/2, PADDLE_Y); super(brickBuster, BrickBuster.WIDTH/2, PADDLE_Y);