public static void StartGame() { if (game == null) { game = new GameServer(context); for (Iterator iter = playerList.getIterator(); iter.hasNext();) { Player p = (Player)iter.next(); game.AddObserver(p); } Thread gameLoop = new Thread(new ThreadStart(game.GameLoop)); gameLoop.Start(); } }