Refactored flowoftime construction, fixes #9
This commit is contained in:
parent
1a2d0fdfeb
commit
37fa657720
@ -23,7 +23,6 @@ public class Game {
|
||||
|
||||
private Game() {
|
||||
random = new Random();
|
||||
flowoftime = new FlowOfTime();
|
||||
}
|
||||
|
||||
public void setDungeon(Dungeon dungeon) {
|
||||
@ -50,6 +49,7 @@ public class Game {
|
||||
display.addVisual(new PlayerDrawer(jaffa));
|
||||
display.addVisual(new PlayerBaseDrawer(replicator));
|
||||
|
||||
flowoftime = new FlowOfTime();
|
||||
flowoftime.start(dungeon.getTimeLimit());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user