| Constructor and Description |
|---|
StateCommand() |
| Modifier and Type | Method and Description |
|---|---|
it.unibo.alchemist.core.interfaces.Command<T> |
build()
Performs the building of an
Command according to the previously called methods. |
Engine.StateCommand<T> |
pause()
Sets the desired status to
Status.PAUSED. |
Engine.StateCommand<T> |
run()
Sets the desired status to
Status.RUNNING. |
Engine.StateCommand<T> |
stop()
Sets the desired status to {#@link Status#STOPPED}.
|
public Engine.StateCommand<T> run()
Status.RUNNING.
Calling this method overrides an eventual previous call to
pause() and\or stop().public Engine.StateCommand<T> pause()
Status.PAUSED.
Calling this method overrides an eventual previous call to
run() and\or stop().public Engine.StateCommand<T> stop()
pause() and\or run().public it.unibo.alchemist.core.interfaces.Command<T> build()
Command according to the previously called methods.Command