public interface GuiListener
Modifier and Type | Method and Description |
---|---|
default void |
finished(ZmtSimState state)
Called right after the simulation is finished.
|
default void |
inited(Controller controller) |
default void |
loaded(ZmtSimState oldState,
ZmtSimState loadedState)
Called right after a new simulation state was loaded.
|
default void |
quit()
Called right after the
GUIState quit. |
default void |
started(ZmtSimState state)
Called right after the simulation has started.
|
default void inited(Controller controller)
controller
- the simulation controllerGUIState.init(Controller)
default void started(ZmtSimState state)
state
- the started simulation stateGUIState.start()
default void loaded(ZmtSimState oldState, ZmtSimState loadedState)
oldState
- the old state replaced by the loaded oneloadedState
- the loaded simulation stateGUIState.load(SimState)
default void finished(ZmtSimState state)
state
- the finished simulation stateGUIState.finish()
default void quit()
GUIState
quit.GUIState.quit()