jfreerails.controller
Interface MoveExecutor

All Known Subinterfaces:
ModelRoot
All Known Implementing Classes:
ModelRootImpl, SimpleMoveExecutor

public interface MoveExecutor

Lets the caller try and execute Moves.

Author:
Luke

Method Summary
 MoveStatus doMove(Move m)
           
 MoveStatus doPreMove(PreMove pm)
           
 FreerailsPrincipal getPrincipal()
           
 ReadOnlyWorld getWorld()
           
 MoveStatus tryDoMove(Move m)
           
 

Method Detail

doMove

MoveStatus doMove(Move m)

doPreMove

MoveStatus doPreMove(PreMove pm)

tryDoMove

MoveStatus tryDoMove(Move m)

getWorld

ReadOnlyWorld getWorld()

getPrincipal

FreerailsPrincipal getPrincipal()