jfreerails.network
Interface ServerGameModel

All Superinterfaces:
GameModel, java.io.Serializable
All Known Implementing Classes:
ServerGameModelImpl, SimpleServerGameModel

public interface ServerGameModel
extends GameModel, java.io.Serializable

Defines methods on a GameModel that let the server load and initiate, and save it.

Author:
Luke

Method Summary
 java.lang.String[] getPasswords()
           
 World getWorld()
           
 void init(MoveReceiver moveExecuter)
           
 void setWorld(World w, java.lang.String[] passwords)
           
 void write(java.io.ObjectOutputStream objectOut)
           
 
Methods inherited from interface jfreerails.util.GameModel
update
 

Method Detail

setWorld

void setWorld(World w,
              java.lang.String[] passwords)

getWorld

World getWorld()

getPasswords

java.lang.String[] getPasswords()

init

void init(MoveReceiver moveExecuter)

write

void write(java.io.ObjectOutputStream objectOut)
           throws java.io.IOException
Throws:
java.io.IOException