@ -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);