diff --git a/core/src/com/me/brickbuster/entity/Paddle.java b/core/src/com/me/brickbuster/entity/Paddle.java index 1ae44f2..65b12fb 100644 --- a/core/src/com/me/brickbuster/entity/Paddle.java +++ b/core/src/com/me/brickbuster/entity/Paddle.java @@ -12,6 +12,7 @@ import net.dermetfan.utils.Pair; public class Paddle extends Entity { + public static final Color STICKY_COLOR = Color.GRAY; public static final Color PADDLE_COLOR = Color.BLACK; public static final int DEFAULT_WIDTH = 300; public static final int PADDLE_HEIGHT = 30; @@ -28,7 +29,7 @@ public class Paddle extends Entity { @Override public void render(ShapeRenderer sr) { sr.begin(ShapeType.Filled); - sr.setColor(sticky? Color.GRAY : PADDLE_COLOR); + sr.setColor(sticky? STICKY_COLOR : PADDLE_COLOR); sr.rect(getX() - width/2, getY(), width, PADDLE_HEIGHT); sr.end(); }