jfreerails.server
Class TrackMaintenanceMoveGenerator
java.lang.Object
jfreerails.server.TrackMaintenanceMoveGenerator
public class TrackMaintenanceMoveGenerator
- extends java.lang.Object
This class iterates over the entries in the BankAccount and counts the number
of units of each track type, then calculates the cost of maintenance.
- Author:
- Luke Lindsay
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
moveReceiver
private final MoveReceiver moveReceiver
TrackMaintenanceMoveGenerator
public TrackMaintenanceMoveGenerator(MoveReceiver mr)
generateMove
public static AddTransactionMove generateMove(World w,
FreerailsPrincipal principal,
Transaction.Category category)
update
public void update(World w)