jfreerails.client.view
Class ActionRoot
java.lang.Object
jfreerails.client.view.ActionRoot
public class ActionRoot
- extends java.lang.Object
Provides access to Actions change the game state and the GUI.
- Author:
- Luke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buildTrainDialogAction
private final ActionRoot.BuildTrainDialogAction buildTrainDialogAction
dialogueBoxController
private DialogueBoxController dialogueBoxController
serverControls
private final ServerControlModel serverControls
stationBuildModel
private StationBuildModel stationBuildModel
trackMoveProducer
private TrackMoveProducer trackMoveProducer
ActionRoot
public ActionRoot(ModelRootImpl mr)
getBuildTrainDialogAction
public javax.swing.Action getBuildTrainDialogAction()
getDialogueBoxController
public DialogueBoxController getDialogueBoxController()
getServerControls
public ServerControlModel getServerControls()
getStationBuildModel
public StationBuildModel getStationBuildModel()
getTrackMoveProducer
public TrackMoveProducer getTrackMoveProducer()
setDialogueBoxController
public void setDialogueBoxController(DialogueBoxController dialogueBoxController)
setup
public void setup(ModelRootImpl modelRoot,
RenderersRoot vl)
- Call this method when a new game is started or a game is loaded.