From cf52cb6cba185530bf1b07603d84289c1ea71c3a Mon Sep 17 00:00:00 2001 From: ericnerdo Date: Fri, 13 May 2016 14:34:05 +0200 Subject: [PATCH] Game.startGame() modified. startGame now adds Players and Replicator to Display. --- cicaprojekt/Game.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cicaprojekt/Game.java b/cicaprojekt/Game.java index 56b683a..5f2d62e 100644 --- a/cicaprojekt/Game.java +++ b/cicaprojekt/Game.java @@ -44,7 +44,11 @@ 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()); - + + display.addVisual(new PlayerDrawer(oneill)); + display.addVisual(new PlayerDrawer(jaffa)); + display.addVisual(new PlayerBaseDrawer(replicator)); + flowoftime.start(420*420); }