Dungeon.buildDungeon() now correctly sets Display up

This commit is contained in:
2016-05-07 19:15:19 +02:00
parent 1f02ffc892
commit 3d81dc6c65
2 changed files with 12 additions and 2 deletions

View File

@ -32,7 +32,7 @@ public class Game {
public void startGame(File dungeonFile) throws IOException {
Stargate.init();
Map<String, Tile> players = dungeon.buildDungeon(dungeonFile);
Map<String, Tile> players = dungeon.buildDungeon(dungeonFile, display);
oneill = new Player("O'Neill", players.get("oneill"), getRandomDirection());
jaffa = new Player("Jaffa", players.get("jaffa"), getRandomDirection());
replicator = new PlayerBase("Replicator", players.get("replicator"), getRandomDirection());