Merge pull request #1823 from SiboVG/issue-1817

[#1817] Create zero-argument constructor for StopSimulationListener
This commit is contained in:
Sibo Van Gool 2022-11-15 11:47:00 +01:00 committed by GitHub
commit a5b99d8f36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,11 @@ public class StopSimulationListener extends AbstractSimulationListener {
private long startTime = -1;
private long time = -1;
public StopSimulationListener() {
this(0, 0);
}
public StopSimulationListener(double t, int n) {
stopTime = t;
stopStep = n;