Added FlowOfTime init in Game
This commit is contained in:
parent
e1c6612356
commit
e98abbecac
@ -18,6 +18,7 @@ public class Game {
|
|||||||
public Game() {
|
public Game() {
|
||||||
dungeon = new Dungeon();
|
dungeon = new Dungeon();
|
||||||
random = new Random();
|
random = new Random();
|
||||||
|
flowoftime = new FlowOfTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void allZPMsCollected() {
|
public void allZPMsCollected() {
|
||||||
@ -31,6 +32,8 @@ public class Game {
|
|||||||
oneill = new Player("O'Neill", players.get("oneill"), getRandomDirection());
|
oneill = new Player("O'Neill", players.get("oneill"), getRandomDirection());
|
||||||
jaffa = new Player("Jaffa", players.get("jaffa"), getRandomDirection());
|
jaffa = new Player("Jaffa", players.get("jaffa"), getRandomDirection());
|
||||||
replicator = new PlayerBase("Replicator", players.get("replicator"), getRandomDirection());
|
replicator = new PlayerBase("Replicator", players.get("replicator"), getRandomDirection());
|
||||||
|
|
||||||
|
flowoftime.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
private Direction getRandomDirection() {
|
private Direction getRandomDirection() {
|
||||||
|
Loading…
Reference in New Issue
Block a user