This commit is contained in:
Stephan Richter
2020-11-06 11:32:31 +01:00
parent 5e088deda2
commit 2f9a9d74be
25 changed files with 27 additions and 9 deletions

View File

@@ -13,6 +13,7 @@ public class BlockV extends Block{
@Override
public Map<Connector, State> connections(Direction from) {
if (isNull(from)) return new HashMap<Connector, Turnout.State>();
switch (from) {
case NORTH:
return Map.of(new Connector(x,y+height(),Direction.NORTH),State.UNDEF);