diff --git a/src/main/java/Snake/SnakeView.java b/src/main/java/Snake/SnakeView.java index 419d924..814b254 100644 --- a/src/main/java/Snake/SnakeView.java +++ b/src/main/java/Snake/SnakeView.java @@ -35,10 +35,7 @@ public class SnakeView implements Drawable{ g.fillOval((int)positions.get(0).getX(), (int)positions.get(0).getY(), cellSize, cellSize); - int r = 144; - int g1 = 238; - int b = 144; - g.setColor(new Color(r, g1, b)); + g.setColor(new Color(144, 238, 144)); for(int i = 1; i < positions.size(); ++i) { // g.fillRect((int)positions.get(i).getX(),