bugfixes + added new action SetTurnout

This commit is contained in:
Stephan Richter
2020-12-04 22:10:26 +01:00
parent f7aee12789
commit 3eea978c31
12 changed files with 149 additions and 32 deletions

View File

@@ -1,6 +1,7 @@
package de.srsoftware.web4rail.tiles;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import de.srsoftware.web4rail.Connector;
@@ -33,4 +34,9 @@ public class Turnout3E extends Turnout{
return new HashMap<>();
}
}
@Override
public List<State> states() {
return List.of(State.STRAIGHT,State.RIGHT,State.LEFT);
}
}