Skip to content
Snippets Groups Projects
Commit 2cd43ed0 authored by btomi96's avatar btomi96
Browse files

Merge branch 'graphcontroller' into 'master'

Game begin map init bug fix



See merge request !50
parents d8205f00 b36f39d7
No related branches found
No related tags found
1 merge request!50Game begin map init bug fix
...@@ -18,11 +18,10 @@ public class GameController { ...@@ -18,11 +18,10 @@ public class GameController {
private View view; private View view;
private ArrayList<IElement>[][] map; private ArrayList<IElement>[][] map;
@SuppressWarnings("unchecked")
public GameController(View view, int width, int height) public GameController(View view, int width, int height)
{ {
this.view = view; this.view = view;
map = new ArrayList[width][height]; map = InitController.map;
} }
public void startGameProcess() throws GameRunningException public void startGameProcess() throws GameRunningException
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment