Remove unused code

This commit is contained in:
Arne Keller 2020-02-15 15:41:54 +01:00
parent bbbcfac68a
commit 1e8026216a

View File

@ -9,7 +9,6 @@ public class ModelRailwaySimulation {
private List<TrainSet> trainSets = new ArrayList<>();
private List<Coach> coaches = new ArrayList<>();
private List<Train> trains = new ArrayList<>();
/**
* Identifier if success, -1 if fail
* @param start
@ -454,11 +453,6 @@ public class ModelRailwaySimulation {
}
positions.add(rollingStockPosition);
}
/* TODO: await forum answer
if (!positions.get(0).subtract(positions.get(1)).equals(direction)) {
return false;
}
*/
train.storePositionAndDirection(positions, direction);
List<ArrayList<Train>> collisions = getStaticCollisions(false);