jfreerails.move
Class RemoveStationMove

java.lang.Object
  extended by jfreerails.move.CompositeMove
      extended by jfreerails.move.RemoveStationMove
All Implemented Interfaces:
java.io.Serializable, MapUpdateMove, Move, TrackMove, FreerailsSerializable

public class RemoveStationMove
extends CompositeMove
implements TrackMove

This Move removes a station from the station list and from the map.

Author:
Luke
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
private RemoveStationMove(java.util.ArrayList<Move> moves)
           
 
Method Summary
(package private) static RemoveStationMove getInstance(ReadOnlyWorld w, ChangeTrackPieceMove removeTrackMove, FreerailsPrincipal principal)
           
 java.awt.Rectangle getUpdatedTiles()
           
 
Methods inherited from class jfreerails.move.CompositeMove
compositeTest, doMove, equals, getMove, getMoves, hashCode, size, toString, tryDoMove, tryUndoMove, undoMove
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jfreerails.move.Move
doMove, tryDoMove, tryUndoMove, undoMove
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

RemoveStationMove

private RemoveStationMove(java.util.ArrayList<Move> moves)
Method Detail

getInstance

static RemoveStationMove getInstance(ReadOnlyWorld w,
                                     ChangeTrackPieceMove removeTrackMove,
                                     FreerailsPrincipal principal)

getUpdatedTiles

public java.awt.Rectangle getUpdatedTiles()
Specified by:
getUpdatedTiles in interface MapUpdateMove