snake/src/main/dev/lh/Main.java

23 lines
367 B
Java
Raw Normal View History

package dev.lh;
import dev.lh.ui.GameWindow;
public class Main {
private static GameWindow game;
public static void main(String[] args) {
//if wanted, the StartScreen can be added here
startGame();
}
public static void startGame() {
game = new GameWindow("Snake");
game.setVisible(true);
}
public static GameWindow getGame() {
return game;
}
}