jfreerails.server
Interface ServerAutomaton

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
TrainPathFinder, TrainUpdater

public interface ServerAutomaton
extends java.io.Serializable

This interface is implemented by objects which are responsible for updating the game world. They are serialized when the game is saved. They are internal clients of the ServerGameEngine and need to be initialised with a connection to the game when deserialized.

Author:
rob

Method Summary
 void initAutomaton(MoveReceiver mr)
          Initializes the automaton with a connection to the MoveExecuter.
 

Method Detail

initAutomaton

void initAutomaton(MoveReceiver mr)
Initializes the automaton with a connection to the MoveExecuter.