|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for updating the client's map display. This is the interface that the server calls to send data to the client. Its equivalent on the client side is client.core.ClientMap.
Method Summary | |
void |
sendPartialScreen(RPCDataSource sender,
short[] locs,
int[][][] terrain,
short[] objects)
Sends the data for a partial-screen update. |
void |
sendZippedScreen(RPCDataSource sender,
int[][] terrain,
short[] data)
Sends a complete screen (terrain records and non-terrain) with an implicit flushGraphics(). |
Method Detail |
public void sendZippedScreen(RPCDataSource sender, int[][] terrain, short[] data)
sender
- the RPCDataSource that constructed this request,
so it can be called back for more data when the request
finishes sending.terrain
- the terrain[][]data
- the object[]public void sendPartialScreen(RPCDataSource sender, short[] locs, int[][][] terrain, short[] objects)
locs
- terrain locations (from Frame.getSparseTerrainInfo())terrain
- terrain records (same source)objects
- object tile numbers (from Frame.makeSparseArray())
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |