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

Method calculate

src/demoJS/StateMachineTestApp.java:79–85  ·  view source on GitHub ↗

Do a calculation.

()

Source from the content-addressed store, hash-verified

77 * Do a calculation.
78 */
79 @Override
80 public void calculate() { // Does a calculation
81 /** @j2sNative debugger; */
82 control.println("Calculate pressed");
83 control.setValue("counter", counter); // show value
84 control.setValue("dt", dt); // show value
85 }
86
87 /**
88 * Reset the program to its initial state.

Callers

nothing calls this directly

Calls 2

printlnMethod · 0.65
setValueMethod · 0.65

Tested by

no test coverage detected