Moved paddle down
This commit is contained in:
parent
203e3311b7
commit
733f75830f
@ -21,7 +21,7 @@ public class Ball extends Entity {
|
||||
public void render() {
|
||||
getShapeRenderer().begin(ShapeRenderer.ShapeType.Filled);
|
||||
getShapeRenderer().setColor(BALL_COLOR);
|
||||
getShapeRenderer().circle(this.getX(), this.getY(), RADIUS, 50);
|
||||
getShapeRenderer().circle(this.getX(), this.getY(), RADIUS);
|
||||
getShapeRenderer().end();
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@ public class Paddle extends Entity {
|
||||
public static final Color PADDLE_COLOR = Color.BLACK;
|
||||
public static final int PADDLE_WIDTH = 100;
|
||||
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) {
|
||||
super(brickBuster, BrickBuster.WIDTH/2, PADDLE_Y);
|
||||
|
Loading…
Reference in New Issue
Block a user