Resets the simulation.
()
| 57 | * Resets the simulation. |
| 58 | */ |
| 59 | @Override |
| 60 | public void reset() { |
| 61 | control.setValue("initial x", 0); |
| 62 | control.setValue("initial vx", 10); |
| 63 | control.setValue("initial y", 0); |
| 64 | control.setValue("initial vy", 10); |
| 65 | control.setValue("dt", 0.01); |
| 66 | enableStepsPerDisplay(true); |
| 67 | } |
| 68 | |
| 69 | /** |
| 70 | * Starts the Java application. |
nothing calls this directly
no test coverage detected