jfreerails.world.station
Class PlannedTrain
java.lang.Object
jfreerails.world.station.PlannedTrain
- All Implemented Interfaces:
- java.io.Serializable, FreerailsSerializable
public class PlannedTrain
- extends java.lang.Object
- implements FreerailsSerializable
This class represents the blue print for what an engine shop is producing.
- Author:
- Luke
- See Also:
- Serialized Form
| 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
engineType
private final int engineType
wagonTypes
private final ImInts wagonTypes
PlannedTrain
public PlannedTrain(int e,
int[] wagons)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
getEngineType
public int getEngineType()
getWagonTypes
public ImInts getWagonTypes()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object