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.


Variable Index

 o x
Ball's x location.
 o y
Ball's y location.

Constructor Index

 o BallLocator()

Method Index

 o check(String)
Analyzes the ball's information.
 o findBallLocation(StringTokenizer)

Variables

 o x
 private int x
Ball's x location.

 o y
 private int y
Ball's y location.

Constructors

 o BallLocator
 public BallLocator()

Methods

 o findBallLocation
 public Point findBallLocation(StringTokenizer tokens)
Parameters:
tokens - the line that has the ball's location.
Returns:
the ball's location.
 o 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