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