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

Method doStep

unused/debugging/SetClipBug.java:70–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68 }
69
70 protected void doStep() {
71 time +=0.1;
72 control.setValue("xleft", (control.getInt("xleft") + time * 10)%200); // sets default input values
73 control.setValue("ytop", (control.getInt("ytop") + time * 10)%180-10); // sets default input values
74 frame.setMessage("t="+ControlUtils.f2(time));
75 }
76}
77
78/*

Callers

nothing calls this directly

Calls 4

f2Method · 0.95
setValueMethod · 0.65
getIntMethod · 0.65
setMessageMethod · 0.45

Tested by

no test coverage detected