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

View File

@ -21,10 +21,16 @@ public class Game {
public static Game instance = new Game(); public static Game instance = new Game();
private Game() { private Game() {
dungeon = new Dungeon();
random = new Random(); random = new Random();
flowoftime = new FlowOfTime(); 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) { public void allZPMsCollected(GameoverCause cause) {