diff --git a/cicaprojekt/Game.java b/cicaprojekt/Game.java index e837ff0..56b683a 100644 --- a/cicaprojekt/Game.java +++ b/cicaprojekt/Game.java @@ -21,10 +21,16 @@ public class Game { public static Game instance = new Game(); private Game() { - dungeon = new Dungeon(); random = new Random(); flowoftime = new FlowOfTime(); - display = new Display(); + } + + public void setDungeon(Dungeon dungeon) { + this.dungeon = dungeon; + } + + public void setDisplay(Display display) { + this.display = display; } public void allZPMsCollected(GameoverCause cause) {