mirror of
https://gitlab.com/arnekeller/kit-programmieren-ws1920-final1.git
synced 2024-11-24 09:24:58 +00:00
Remove unused code
This commit is contained in:
parent
bbbcfac68a
commit
1e8026216a
@ -9,7 +9,6 @@ public class ModelRailwaySimulation {
|
|||||||
private List<TrainSet> trainSets = new ArrayList<>();
|
private List<TrainSet> trainSets = new ArrayList<>();
|
||||||
private List<Coach> coaches = new ArrayList<>();
|
private List<Coach> coaches = new ArrayList<>();
|
||||||
private List<Train> trains = new ArrayList<>();
|
private List<Train> trains = new ArrayList<>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Identifier if success, -1 if fail
|
* Identifier if success, -1 if fail
|
||||||
* @param start
|
* @param start
|
||||||
@ -454,11 +453,6 @@ public class ModelRailwaySimulation {
|
|||||||
}
|
}
|
||||||
positions.add(rollingStockPosition);
|
positions.add(rollingStockPosition);
|
||||||
}
|
}
|
||||||
/* TODO: await forum answer
|
|
||||||
if (!positions.get(0).subtract(positions.get(1)).equals(direction)) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
train.storePositionAndDirection(positions, direction);
|
train.storePositionAndDirection(positions, direction);
|
||||||
|
|
||||||
List<ArrayList<Train>> collisions = getStaticCollisions(false);
|
List<ArrayList<Train>> collisions = getStaticCollisions(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user