working on saving and loading of route actions

This commit is contained in:
Stephan Richter
2020-09-21 18:44:55 +02:00
parent 5c67e6089d
commit fa58c33938
11 changed files with 144 additions and 47 deletions

View File

@@ -6,12 +6,12 @@ import de.srsoftware.web4rail.Route;
public class FinishRoute extends RouteAction {
public FinishRoute(Route route) {
super(route);
public FinishRoute(int routeId) {
super(routeId);
}
@Override
public void fire() throws IOException {
public void fire(Route route) throws IOException {
route.finish();
}
}