jfreerails.server
Class CalcSupplyAtStations

java.lang.Object
  extended by jfreerails.server.CalcSupplyAtStations

public class CalcSupplyAtStations
extends java.lang.Object

This class loops through all of the known stations and recalculates the cargoes that they supply, demand, and convert.

Author:
Scott Bennett Created: 19th May 2003

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

w

private final World w

moveReceiver

private final MoveReceiver moveReceiver
Constructor Detail

CalcSupplyAtStations

public CalcSupplyAtStations(World world,
                            MoveReceiver mr)
Constructor, currently called from GUIComponentFactory.

Parameters:
world - The World object that contains all about the game world
Method Detail

doProcessing

public void doProcessing()
Loop through each known station, call calculations method.