|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jfreerails.server.TrainMaintenanceMoveGenerator
public class TrainMaintenanceMoveGenerator
This class iterates over the entries in the BankAccount and counts the number of trains, then calculates the cost of maintenance.
Field Summary | |
---|---|
private MoveReceiver |
moveReceiver
|
Constructor Summary | |
---|---|
TrainMaintenanceMoveGenerator(MoveReceiver mr)
|
Method Summary | |
---|---|
private static AddTransactionMove |
generateMove(World w,
FreerailsPrincipal principal)
|
void |
update(World w)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final MoveReceiver moveReceiver
Constructor Detail |
---|
public TrainMaintenanceMoveGenerator(MoveReceiver mr)
Method Detail |
---|
private static AddTransactionMove generateMove(World w, FreerailsPrincipal principal)
public void update(World w)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |