|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjfreerails.server.CalcSupplyAtStations
public class CalcSupplyAtStations
This class loops through all of the known stations and recalculates the cargoes that they supply, demand, and convert.
Field Summary | |
---|---|
private MoveReceiver |
moveReceiver
|
private World |
w
|
Constructor Summary | |
---|---|
CalcSupplyAtStations(World world,
MoveReceiver mr)
Constructor, currently called from GUIComponentFactory. |
Method Summary | |
---|---|
void |
doProcessing()
Loop through each known station, call calculations method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final World w
private final MoveReceiver moveReceiver
Constructor Detail |
---|
public CalcSupplyAtStations(World world, MoveReceiver mr)
world
- The World object that contains all about the game worldMethod Detail |
---|
public void doProcessing()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |