added Dungeon & Display setters to Game
This commit is contained in:
parent
3cd196df78
commit
024a1e8a9a
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user