Game.startGame() modified.
startGame now adds Players and Replicator to Display.
This commit is contained in:
parent
dce3313c83
commit
cf52cb6cba
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user