public class ActiveGridAppController extends SteppedGridAppController
ActiveGridAppController
controls the running of a
grid application. In each timestep it tells all of the objects in
the grid to act. The objects in the grid should be instances of a
class that redefines the act
method to do something
meaningful.Constructor and Description |
---|
ActiveGridAppController() |
Modifier and Type | Method and Description |
---|---|
void |
step()
Advances the application one step by asking every object in
the grid to
act . |
getGrid, hasReachedStoppingState, init, setGrid
public void step()
act
.step
in class SteppedGridAppController