Methapolis
0.27
|
Public Member Functions | |
RemoteClient (String ip) throws RemoteException | |
PlayerInfo | getPlayerInfo () |
int | getID () |
void | sendInput (PlayerInput input) |
MapInfo | getMap () |
String | getIP () |
Private Attributes | |
transient IMicropolisServer | server |
String | IP |
int | playerID |
Definition at line 12 of file RemoteClient.java.
micropolisj.network.RemoteClient.RemoteClient | ( | String | ip | ) | throws RemoteException |
Definition at line 20 of file RemoteClient.java.
References micropolisj.network.IMicropolisServer.getNewID(), micropolisj.network.RemoteClient.IP, micropolisj.network.NetworkServer.NAMING_BIND, micropolisj.network.RemoteClient.playerID, and micropolisj.network.RemoteClient.server.
int micropolisj.network.RemoteClient.getID | ( | ) |
Definition at line 49 of file RemoteClient.java.
References micropolisj.network.RemoteClient.playerID.
Referenced by micropolisj.network.ClientMicropolis.getPlayerID().
String micropolisj.network.RemoteClient.getIP | ( | ) |
Definition at line 72 of file RemoteClient.java.
References micropolisj.network.RemoteClient.IP.
Referenced by micropolisj.network.ClientMicropolis.getPlayerIP().
MapInfo micropolisj.network.RemoteClient.getMap | ( | ) |
Definition at line 62 of file RemoteClient.java.
References micropolisj.network.IMicropolisServer.getLatestMap(), and micropolisj.network.RemoteClient.server.
Referenced by micropolisj.network.ClientMicropolis.animate().
PlayerInfo micropolisj.network.RemoteClient.getPlayerInfo | ( | ) |
Definition at line 39 of file RemoteClient.java.
References micropolisj.network.IMicropolisServer.getPlayerInfo(), micropolisj.network.RemoteClient.playerID, and micropolisj.network.RemoteClient.server.
Referenced by micropolisj.network.ClientMicropolis.animate().
void micropolisj.network.RemoteClient.sendInput | ( | PlayerInput | input | ) |
Definition at line 53 of file RemoteClient.java.
References micropolisj.network.RemoteClient.playerID, micropolisj.network.RemoteClient.server, and micropolisj.network.IMicropolisServer.storeInput().
Referenced by micropolisj.network.ClientMicropolis.setBudgetNumbers(), and micropolisj.network.ClientMicropolis.toolUsed().
|
private |
Definition at line 16 of file RemoteClient.java.
Referenced by micropolisj.network.RemoteClient.getIP(), and micropolisj.network.RemoteClient.RemoteClient().
|
private |
Definition at line 18 of file RemoteClient.java.
Referenced by micropolisj.network.RemoteClient.getID(), micropolisj.network.RemoteClient.getPlayerInfo(), micropolisj.network.RemoteClient.RemoteClient(), and micropolisj.network.RemoteClient.sendInput().
|
private |
Definition at line 14 of file RemoteClient.java.
Referenced by micropolisj.network.RemoteClient.getMap(), micropolisj.network.RemoteClient.getPlayerInfo(), micropolisj.network.RemoteClient.RemoteClient(), and micropolisj.network.RemoteClient.sendInput().