All Packages Class Hierarchy This Package Previous Next Index
Class pinball.log.SavedFrame
java.lang.Object
|
+----pinball.log.SavedFrame
- public class SavedFrame
- extends Object
A frame read from the camera file.
-
SavedFrame(CameraFrame, String, int, int, long)
-
Store a frame from the video log file into the memory.
-
frame()
- Get the frame.
-
sleepTime()
-
-
text()
- Get the text for the frame.
-
x()
- Get the x location of the ball.
-
y()
- Get the y location of the ball.
SavedFrame
public SavedFrame(CameraFrame frame,
String text,
int x,
int y,
long sleepTime)
- Store a frame from the video log file into the memory.
- Parameters:
- frame - Frame from the camera.
- text - Text from the frame.
- x - x location of the ball.
- y - y location of the ball.
- sleepTime - how long to wait between frames.
frame
public CameraFrame frame()
- Get the frame.
- Returns:
- camera frame.
text
public String text()
- Get the text for the frame.
- Returns:
- text from the frame.
x
public int x()
- Get the x location of the ball.
- Returns:
- the x location of the ball.
y
public int y()
- Get the y location of the ball.
- Returns:
- the y location of the ball.
sleepTime
public long sleepTime()
All Packages Class Hierarchy This Package Previous Next Index