Added FlowOfTime init in Game

This commit is contained in:
Bokros Bálint 2016-05-07 14:06:09 +02:00
parent e1c6612356
commit e98abbecac

View File

@ -18,6 +18,7 @@ public class Game {
public Game() {
dungeon = new Dungeon();
random = new Random();
flowoftime = new FlowOfTime();
}
public void allZPMsCollected() {
@ -31,6 +32,8 @@ public class Game {
oneill = new Player("O'Neill", players.get("oneill"), getRandomDirection());
jaffa = new Player("Jaffa", players.get("jaffa"), getRandomDirection());
replicator = new PlayerBase("Replicator", players.get("replicator"), getRandomDirection());
flowoftime.start();
}
private Direction getRandomDirection() {