1 package micropolisj.network;
3 import java.rmi.RemoteException;
4 import java.util.HashMap;
6 import java.util.Map.Entry;
8 import micropolisj.engine.GameLevel;
9 import micropolisj.engine.Micropolis;
10 import micropolisj.engine.PlayerInfo;
11 import micropolisj.engine.ToolStroke;
12 import micropolisj.network.PlayerInput.BudgetInput;
37 if(playerInfos == null) {
38 this.playerInfos =
new HashMap<Integer, PlayerInfo>();
45 catch(RemoteException e) {
53 for(Entry<Integer, PlayerInfo> playerInf :
playerInfos.entrySet()) {
61 for(Entry<PlayerInput, Integer> entry : inputs.entrySet()) {
63 ToolStroke stroke = entry.getKey().getToolStroke();
68 BudgetInput budgetNum = entry.getKey().getBudgetNumbers();