added Dungeon & Display setters to Game

This commit is contained in:
Kjistóf 2016-05-13 14:06:02 +02:00
parent 3cd196df78
commit 024a1e8a9a
1 changed files with 8 additions and 2 deletions

View File

@ -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) {