public interface Model
Modifier and Type | Method | Description |
---|---|---|
Simulation |
getSimulation() |
Gets the simulation in which this model runs (if any)
|
View |
getView() |
Gets the view for this model (if any)
|
void |
initialize() |
|
void |
reset() |
Sets the view for this model
|
void |
step() |
|
void |
update() |
Simulation getSimulation()
View getView()
void reset()
void initialize()
void step()
void update()