overhauled actions

This commit is contained in:
Stephan Richter
2020-11-20 00:03:58 +01:00
parent c21d0fbb8b
commit e7a6349c7c
16 changed files with 29 additions and 53 deletions

View File

@@ -1,13 +1,11 @@
package de.srsoftware.web4rail.actions;
import java.io.IOException;
import de.srsoftware.web4rail.Route;
public class FinishRoute extends Action {
@Override
public boolean fire(Context context) throws IOException {
public boolean fire(Context context) {
Route route = context.route;
if (isSet(route)) route.finish();
return true;