jfreerails.controller
Class ProcessCargoAtStationMoveGenerator
java.lang.Object
jfreerails.controller.ProcessCargoAtStationMoveGenerator
public class ProcessCargoAtStationMoveGenerator
- extends java.lang.Object
This class generates Moves that pay the player for delivering the cargo.
- Author:
- Luke Lindsay
Field Summary |
private static int |
MAGIC_NUMBER
Determines how much the player gets for delivering cargo. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAGIC_NUMBER
private static final int MAGIC_NUMBER
- Determines how much the player gets for delivering cargo. Changed from
100 to 75 to fix bug 910132 (Too easy to make money!)
- See Also:
- Constant Field Values
ProcessCargoAtStationMoveGenerator
public ProcessCargoAtStationMoveGenerator()
processCargo
public static java.util.ArrayList<Move> processCargo(ReadOnlyWorld w,
CargoBundle bundle,
int stationID,
FreerailsPrincipal p,
int trainId)