diff --git a/src/main/java/Snake/GameView.java b/src/main/java/Snake/GameView.java index 2310051..86594fb 100644 --- a/src/main/java/Snake/GameView.java +++ b/src/main/java/Snake/GameView.java @@ -21,6 +21,10 @@ public class GameView extends JPanel this.gridSize = gridSize; } + public int getGridSize() + { + return gridSize; + } @Override protected void paintComponent(Graphics g) { super.paintComponent(g);