jfreerails.move
Class RemoveTrainMove
java.lang.Object
jfreerails.move.CompositeMove
jfreerails.move.RemoveTrainMove
- All Implemented Interfaces:
- java.io.Serializable, Move, FreerailsSerializable
public class RemoveTrainMove
- extends CompositeMove
This Move removes a train from the list of trains, and the corresponding
CargoBundle and Schedule.
- Author:
- Luke
- See Also:
- Serialized Form
| 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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
RemoveTrainMove
private RemoveTrainMove(Move[] moves)
getInstance
public static RemoveTrainMove getInstance(int index,
FreerailsPrincipal p,
ReadOnlyWorld world)