Game #23
|
@ -87,7 +87,8 @@ public class Track implements TrackSpecification {
|
||||||
private void readFile(File trackFile) throws FileNotFoundException {
|
private void readFile(File trackFile) throws FileNotFoundException {
|
||||||
Scanner scanner = new Scanner(trackFile);
|
Scanner scanner = new Scanner(trackFile);
|
||||||
while (scanner.hasNextLine()) {
|
while (scanner.hasNextLine()) {
|
||||||
track.add(scanner.nextLine());
|
//track.add(scanner.nextLine());
|
||||||
|
System.out.println(scanner.nextLine());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue