1 package micropolisj.network;
3 import java.io.ByteArrayOutputStream;
4 import java.io.FileInputStream;
5 import java.rmi.RemoteException;
6 import java.rmi.server.UnicastRemoteObject;
7 import java.util.Collections;
8 import java.util.HashMap;
11 import micropolisj.engine.Micropolis;
12 import micropolisj.engine.PlayerInfo;
24 private Map<PlayerInput, Integer>
events;
34 events = Collections.synchronizedMap(
new HashMap<PlayerInput, Integer>());
51 events.put(input, playerID);
54 public synchronized Map<PlayerInput, Integer>
getInput() {
68 public byte[]
getLevel() throws RemoteException {