Uses of Class
jfreerails.move.MoveStatus

Packages that use MoveStatus
experimental Provides a space to put classes that try out concepts and ideas but are not part of the game - classes in other jfreerails packages should not import classes from this package. 
jfreerails.client.common Provides classes that are used by the jfreerails client but are not jfreerails specific, that is, ones that could be used in another project: classes in this package should not import any classes from other jfreerails.* packages except jfreerails.util
jfreerails.client.renderer Provides classes that render/paint/draw the games graphics. 
jfreerails.controller Provides classes that may be used by the client or the server to operate on the game world, for example, building trains and stations. 
jfreerails.move Provides classes that encapsulate changes to the game world. 
jfreerails.network Provides classes for sending moves and commands between the client and server. 
 

Uses of MoveStatus in experimental
 

Methods in experimental that return MoveStatus
 MoveStatus SimpleMoveReciever.tryDoMove(Move move)
           
 

Uses of MoveStatus in jfreerails.client.common
 

Methods in jfreerails.client.common that return MoveStatus
 MoveStatus ModelRootImpl.doMove(Move m)
           
 MoveStatus ModelRootImpl.doPreMove(PreMove pm)
           
 MoveStatus ModelRootImpl.tryDoMove(Move m)
           
 

Uses of MoveStatus in jfreerails.client.renderer
 

Methods in jfreerails.client.renderer that return MoveStatus
private  MoveStatus BuildTrackController.moveCursorMoreTiles(java.util.List<ImPoint> track, TrackMoveProducer trackBuilder)
          uses trackBuilder if not null -- otherwise uses own buildTrack method - that is applied on worldDifferences
private  MoveStatus BuildTrackController.planBuildingTrack(ImPoint point, Step vector)
          Attempts to building track from the specified point in the specified direction on the worldDiff object.
 

Uses of MoveStatus in jfreerails.controller
 

Fields in jfreerails.controller declared as MoveStatus
 MoveStatus PreMoveStatus.ms
           
 

Methods in jfreerails.controller that return MoveStatus
 MoveStatus StationBuilder.buildStation(ImPoint p)
           
 MoveStatus TrackMoveProducer.buildTrack(ImPoint from, Step trackVector)
           
 MoveStatus TrackMoveProducer.buildTrack(ImPoint from, Step[] path)
           
 MoveStatus MoveExecutor.doMove(Move m)
           
 MoveStatus SimpleMoveExecutor.doMove(Move m)
           
 MoveStatus MoveExecutor.doPreMove(PreMove pm)
           
 MoveStatus SimpleMoveExecutor.doPreMove(PreMove pm)
           
private  MoveStatus TrackMoveProducer.sendMove(Move m)
           
 MoveStatus StationBuilder.tryBuildingStation(ImPoint p)
           
 MoveStatus MoveExecutor.tryDoMove(Move m)
           
 MoveStatus SimpleMoveExecutor.tryDoMove(Move m)
           
 MoveStatus TrackMoveProducer.undoLastTrackMove()
           
 MoveStatus TrackMoveProducer.upgradeTrack(ImPoint point)
           
private  MoveStatus TrackMoveProducer.upgradeTrack(ImPoint point, int trackRuleID)
           
 

Methods in jfreerails.controller with parameters of type MoveStatus
static PreMoveStatus PreMoveStatus.fromMoveStatus(MoveStatus ms)
           
 

Constructors in jfreerails.controller with parameters of type MoveStatus
PreMoveStatus(MoveStatus ms)
           
 

Uses of MoveStatus in jfreerails.move
 

Fields in jfreerails.move declared as MoveStatus
static MoveStatus MoveStatus.MOVE_OK
           
 

Methods in jfreerails.move that return MoveStatus
protected static MoveStatus ChangeTrackPieceMove.check4overlap(World w, ImPoint location, TrackPiece trackPiece)
          This method may be called under 3 possible conditions: (1) when a station is getting built, (2) when a station is getting upgraded, (3) when a staton is getting removed.
protected  MoveStatus ChangeTrackPieceCompositeMove.compositeTest(World world, FreerailsPrincipal p)
           
(package private)  MoveStatus CompositeMove.compositeTest(World w, FreerailsPrincipal p)
          Subclasses may override this method to perform tests which pass or fail depending on the combination of moves making up this composite move.
 MoveStatus AddActiveEntityMove.doMove(World w, FreerailsPrincipal p)
           
 MoveStatus AddItemToListMove.doMove(World w, FreerailsPrincipal p)
           
 MoveStatus AddItemToSharedListMove.doMove(World w, FreerailsPrincipal p)
           
 MoveStatus AddPlayerMove.doMove(World w, FreerailsPrincipal p)
           
 MoveStatus AddTransactionMove.doMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeGameSpeedMove.doMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeItemInListMove.doMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeProductionAtEngineShopMove.doMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeTileMove.doMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeTrackPieceMove.doMove(World w, FreerailsPrincipal p)
           
 MoveStatus CompositeMove.doMove(World w, FreerailsPrincipal p)
           
 MoveStatus Move.doMove(World w, FreerailsPrincipal p)
          Executes this move on the specifed world object.
 MoveStatus NextActivityMove.doMove(World w, FreerailsPrincipal p)
           
 MoveStatus RemoveItemFromListMove.doMove(World w, FreerailsPrincipal p)
           
 MoveStatus TimeTickMove.doMove(World w, FreerailsPrincipal p)
           
 MoveStatus UndoMove.doMove(World w, FreerailsPrincipal p)
           
 MoveStatus WorldDiffMove.doMove(World world, FreerailsPrincipal p)
           
protected  MoveStatus ChangeItemInListMove.move(FreerailsSerializable to, FreerailsSerializable from, World w)
           
static MoveStatus MoveStatus.moveFailed(java.lang.String reason)
           
 MoveStatus AddActiveEntityMove.tryDoMove(World w, FreerailsPrincipal p)
           
 MoveStatus AddItemToListMove.tryDoMove(World w, FreerailsPrincipal p)
           
 MoveStatus AddItemToSharedListMove.tryDoMove(World w, FreerailsPrincipal p)
           
 MoveStatus AddPlayerMove.tryDoMove(World w, FreerailsPrincipal p)
           
 MoveStatus AddTransactionMove.tryDoMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeGameSpeedMove.tryDoMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeItemInListMove.tryDoMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeProductionAtEngineShopMove.tryDoMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeTileMove.tryDoMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeTrackPieceMove.tryDoMove(World w, FreerailsPrincipal p)
           
 MoveStatus CompositeMove.tryDoMove(World w, FreerailsPrincipal p)
           
 MoveStatus Move.tryDoMove(World w, FreerailsPrincipal p)
          Tests whether this Move can be executed on the specifed world object, this method should leave the world object unchanged.
 MoveStatus NextActivityMove.tryDoMove(World w, FreerailsPrincipal p)
           
 MoveStatus RemoveItemFromListMove.tryDoMove(World w, FreerailsPrincipal p)
           
 MoveStatus TimeTickMove.tryDoMove(World w, FreerailsPrincipal p)
           
 MoveStatus UndoMove.tryDoMove(World w, FreerailsPrincipal p)
           
 MoveStatus WorldDiffMove.tryDoMove(World world, FreerailsPrincipal p)
           
private  MoveStatus WorldDiffMove.tryMapChanges(World world, boolean undo)
           
protected  MoveStatus ChangeItemInListMove.tryMove(FreerailsSerializable to, FreerailsSerializable from, World w)
           
private  MoveStatus ChangeProductionAtEngineShopMove.tryMove(World w, ImList<PlannedTrain> stateA)
           
private  MoveStatus ChangeTrackPieceMove.tryMove(World w, TrackPiece oldTrackPiece, TrackPiece newTrackPiece)
           
 MoveStatus AddActiveEntityMove.tryUndoMove(World w, FreerailsPrincipal p)
           
 MoveStatus AddItemToListMove.tryUndoMove(World w, FreerailsPrincipal p)
           
 MoveStatus AddItemToSharedListMove.tryUndoMove(World w, FreerailsPrincipal p)
           
 MoveStatus AddPlayerMove.tryUndoMove(World w, FreerailsPrincipal p)
           
 MoveStatus AddTransactionMove.tryUndoMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeGameSpeedMove.tryUndoMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeItemInListMove.tryUndoMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeProductionAtEngineShopMove.tryUndoMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeTileMove.tryUndoMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeTrackPieceMove.tryUndoMove(World w, FreerailsPrincipal p)
           
 MoveStatus CompositeMove.tryUndoMove(World w, FreerailsPrincipal p)
           
 MoveStatus Move.tryUndoMove(World w, FreerailsPrincipal p)
          Tests whether this Move can be undone on the specifed world object, this method should leave the world object unchanged.
 MoveStatus NextActivityMove.tryUndoMove(World w, FreerailsPrincipal p)
           
 MoveStatus RemoveItemFromListMove.tryUndoMove(World w, FreerailsPrincipal p)
           
 MoveStatus TimeTickMove.tryUndoMove(World w, FreerailsPrincipal p)
           
 MoveStatus UndoMove.tryUndoMove(World w, FreerailsPrincipal p)
           
 MoveStatus WorldDiffMove.tryUndoMove(World world, FreerailsPrincipal p)
           
 MoveStatus AddActiveEntityMove.undoMove(World w, FreerailsPrincipal p)
           
 MoveStatus AddItemToListMove.undoMove(World w, FreerailsPrincipal p)
           
 MoveStatus AddItemToSharedListMove.undoMove(World w, FreerailsPrincipal p)
           
 MoveStatus AddPlayerMove.undoMove(World w, FreerailsPrincipal p)
           
 MoveStatus AddTransactionMove.undoMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeGameSpeedMove.undoMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeItemInListMove.undoMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeProductionAtEngineShopMove.undoMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeTileMove.undoMove(World w, FreerailsPrincipal p)
           
 MoveStatus ChangeTrackPieceMove.undoMove(World w, FreerailsPrincipal p)
           
 MoveStatus CompositeMove.undoMove(World w, FreerailsPrincipal p)
           
 MoveStatus Move.undoMove(World w, FreerailsPrincipal p)
          If doMove has just been executed on the specified world object, calling this method changes the state of the world object back to how it was before doMove was called.
 MoveStatus NextActivityMove.undoMove(World w, FreerailsPrincipal p)
           
 MoveStatus RemoveItemFromListMove.undoMove(World w, FreerailsPrincipal p)
           
 MoveStatus TimeTickMove.undoMove(World w, FreerailsPrincipal p)
           
 MoveStatus UndoMove.undoMove(World w, FreerailsPrincipal p)
           
 MoveStatus WorldDiffMove.undoMove(World world, FreerailsPrincipal p)
           
 

Uses of MoveStatus in jfreerails.network
 

Methods in jfreerails.network that return MoveStatus
 MoveStatus FreerailsClient.tryDoMove(Move move)
          Tests a move before sending it to the server.
 MoveStatus UntriedMoveReceiver.tryDoMove(Move move)
           
 

Methods in jfreerails.network with parameters of type MoveStatus
(package private)  void MovePrecommitter.fromServer(MoveStatus ms)
          Indicates that the server has processed a move we sent.