merged track into game

This commit is contained in:
Leonardo Brandenberger 2022-03-10 15:39:58 +01:00
parent 156f6d0cab
commit 6285cfe215
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ public class Track implements TrackSpecification {
* @throws InvalidTrackFormatException if the track file contains invalid data (no tracklines, ...) * @throws InvalidTrackFormatException if the track file contains invalid data (no tracklines, ...)
*/ */
public Track(File trackFile) throws FileNotFoundException, InvalidTrackFormatException { public Track(File trackFile) throws FileNotFoundException, InvalidTrackFormatException {
track = new ArrayList<>(); track = new ArrayList<>();
cars = new ArrayList<>(); cars = new ArrayList<>();
finishLine = new ArrayList<>(); finishLine = new ArrayList<>();