From 2f1f4b66d04dd6e461f70a75abc7ff1457d8545e Mon Sep 17 00:00:00 2001 From: Justin Senn Date: Mon, 6 Feb 2023 17:55:02 +0100 Subject: [PATCH] update --- src/main/java/Snake/GameView.java | 4 ++++ 1 file changed, 4 insertions(+) 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);