Game.startGame() modified.

startGame now adds Players and Replicator to Display.
This commit is contained in:
ericnerdo 2016-05-13 14:34:05 +02:00
parent dce3313c83
commit cf52cb6cba

View File

@ -45,6 +45,10 @@ public class Game {
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());
display.addVisual(new PlayerDrawer(oneill));
display.addVisual(new PlayerDrawer(jaffa));
display.addVisual(new PlayerBaseDrawer(replicator));
flowoftime.start(420*420); flowoftime.start(420*420);
} }