public abstract class SteppedGridAppController
extends java.lang.Object
SteppedGridAppController controls the running of a
stepped grid application.| Constructor and Description |
|---|
SteppedGridAppController() |
| Modifier and Type | Method and Description |
|---|---|
Grid |
getGrid()
Gets the application's grid.
|
boolean |
hasReachedStoppingState()
Determines whether a running application has reached
a desired stopping state.
|
void |
init()
Initializes or re-initializes the state of the grid application.
|
void |
setGrid(Grid grid)
Sets the application's grid.
|
abstract void |
step()
Advances the application one step.
|
public Grid getGrid()
public void setGrid(Grid grid)
grid - the Grid to act onpublic void init()
public abstract void step()
public boolean hasReachedStoppingState()
true if the application should
stop