Package org.opensourcephysics.ejs
Interface Model
public interface Model
A base interface for the model of a simulation
-
Method Details
-
getSimulation
Simulation getSimulation()Gets the simulation in which this model runs (if any) -
getView
View getView()Gets the view for this model (if any) -
reset
void reset()Sets the view for this model -
initialize
void initialize() -
step
void step() -
update
void update()
-