rails.common
Class ServerToClient

java.lang.Object
  extended by rails.common.ServerToClient
All Implemented Interfaces:
java.io.Serializable

public class ServerToClient
extends java.lang.Object
implements java.io.Serializable

Instances of this class are intended to carry all data that (after the foreseen client/server split) would be sent from the server (game enigine) to the client (GUI) after completion of the processing of each player action. All contents of this class must be Serializable.

This class is still in its infancy. Over time it will probably absorb the current PossibleActions and DisplayBuffer classes, and also include many details that the GUI now obtains via direct calls to server methods.

Author:
VosE
See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
ServerToClient()
           
 
Method Summary
 GuiHints getUiHints()
           
 void setUiHints(GuiHints guiHints)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

ServerToClient

public ServerToClient()
Method Detail

getUiHints

public GuiHints getUiHints()

setUiHints

public void setUiHints(GuiHints guiHints)