If I had a .txt file like this:
frames: 312
speed: 100 fps
2
Circle
r: 20
x: 30
y: 35
and I wanted to get the useful information from the file, how would I do that? I'm using java.util.Scanner. I want to get all the integers, and I want to read when it skips a line and the word "Circle"