jfreerails.controller
Interface PreMove

All Superinterfaces:
FreerailsSerializable, java.io.Serializable
All Known Implementing Classes:
AddStationPreMove, AddTrainPreMove, MoveTrainPreMove, TimeTickPreMove

public interface PreMove
extends FreerailsSerializable

Defines a method that generates a move based on the state of the world object. The state of a move is often a function of the state of the world object and some other input.

Author:
Luke

Method Summary
 Move generateMove(ReadOnlyWorld w)
           
 

Method Detail

generateMove

Move generateMove(ReadOnlyWorld w)