All Packages Class Hierarchy This Package Previous Next Index
Class pinball.log.BallLocator
java.lang.Object
|
+----pinball.log.BallLocator
- public class BallLocator
- extends Object
Used to find the ball's location in the log file.
-
x
- Ball's x location.
-
y
- Ball's y location.
-
BallLocator()
-
-
check(String)
- Analyzes the ball's information.
-
findBallLocation(StringTokenizer)
-
x
private int x
- Ball's x location.
y
private int y
- Ball's y location.
BallLocator
public BallLocator()
findBallLocation
public Point findBallLocation(StringTokenizer tokens)
- Parameters:
- tokens - the line that has the ball's location.
- Returns:
- the ball's location.
check
private void check(String data)
- Analyzes the ball's information.
Finds ball's location.
- Parameters:
- data - the line from the log file that has the ball's location.
All Packages Class Hierarchy This Package Previous Next Index