jfreerails.controller
Class StationBuilder
java.lang.Object
jfreerails.controller.StationBuilder
public class StationBuilder
- extends java.lang.Object
Class to build a station at a given point, names station after nearest city.
If that name is taken then a "Junction" or "Siding" is added to the name.
- Author:
- Luke Lindsay 08-Nov-2002
Updated 12th April 2003 by Scott Bennett to include nearest city names.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final java.util.logging.Logger logger
ruleNumber
private int ruleNumber
executor
private final MoveExecutor executor
StationBuilder
public StationBuilder(MoveExecutor executor)
tryBuildingStation
public MoveStatus tryBuildingStation(ImPoint p)
buildStation
public MoveStatus buildStation(ImPoint p)
setStationType
public void setStationType(int ruleNumber)
getTrackTypeID
int getTrackTypeID(java.lang.String string)