added push-pull train condition

This commit is contained in:
Stephan Richter
2020-11-02 00:13:50 +01:00
parent 1749abace9
commit 416a9cd2df
5 changed files with 28 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ public class Train implements Comparable<Train>,Constants {
private Direction direction;
private static final String PUSH_PULL = "pushPull";
private boolean pushPull = false;
public boolean pushPull = false;
private static final String CARS = "cars";
private Vector<Car> cars = new Vector<Car>();