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