Browse Source

update

main
Justin Senn 2 years ago
parent
commit
2f1f4b66d0
  1. 4
      src/main/java/Snake/GameView.java

4
src/main/java/Snake/GameView.java

@ -21,6 +21,10 @@ public class GameView extends JPanel
this.gridSize = gridSize; this.gridSize = gridSize;
} }
public int getGridSize()
{
return gridSize;
}
@Override @Override
protected void paintComponent(Graphics g) { protected void paintComponent(Graphics g) {
super.paintComponent(g); super.paintComponent(g);

Loading…
Cancel
Save