MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / initialize

Method initialize

src/csm/ch02/SimulationApp.java:34–38  ·  view source on GitHub ↗

Initializes the simulation by setting the counter variable

()

Source from the content-addressed store, hash-verified

32 * Initializes the simulation by setting the counter variable
33 */
34 @Override
35public void initialize() {
36 counter = control.getInt("counter");
37 OSPLog.info("Initializing SumulationApp");
38 }
39
40 /**
41 * Resets the simulation parameters to their initial state.

Callers 1

resetMethod · 0.95

Calls 2

infoMethod · 0.95
getIntMethod · 0.65

Tested by

no test coverage detected