working on train movements

This commit is contained in:
Stephan Richter
2020-09-20 14:43:33 +02:00
parent a6090b4cf9
commit 9e36d5c0c8
16 changed files with 228 additions and 22 deletions

View File

@@ -0,0 +1,20 @@
package de.srsoftware.web4rail.actions;
import java.io.IOException;
import de.srsoftware.web4rail.Route;
public class FinishRoute extends Action {
private Route route;
public FinishRoute(Route route) {
this.route = route;
}
@Override
public void fire() throws IOException {
route.finish();
}
}