Skip to content
Snippets Groups Projects
Commit 005af30a authored by Enes Herguel's avatar Enes Herguel
Browse files

Maze-ready!

parent 6be0299c
No related branches found
No related tags found
No related merge requests found
examples/maze.png

27.9 KiB

...@@ -24,7 +24,7 @@ public class MainWindow extends Game { ...@@ -24,7 +24,7 @@ public class MainWindow extends Game {
public void loadGame() { public void loadGame() {
SharedRessources.setMaximumCores(Integer.MAX_VALUE); SharedRessources.setMaximumCores(Integer.MAX_VALUE);
try { try {
MapLoader.getDefault().load(ImageIO.read(new File("c:/users/enesh/desktop/tests/maze2.png"))); MapLoader.getDefault().load(ImageIO.read(new File("examples/maze.png")));
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment