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.


Constructor Index

 o SavedFrame(CameraFrame, String, int, int, long)
Store a frame from the video log file into the memory.

Method Index

 o frame()
Get the frame.
 o sleepTime()
 o text()
Get the text for the frame.
 o x()
Get the x location of the ball.
 o y()
Get the y location of the ball.

Constructors

 o 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.

Methods

 o frame
 public CameraFrame frame()
Get the frame.

Returns:
camera frame.
 o text
 public String text()
Get the text for the frame.

Returns:
text from the frame.
 o x
 public int x()
Get the x location of the ball.

Returns:
the x location of the ball.
 o y
 public int y()
Get the y location of the ball.

Returns:
the y location of the ball.
 o sleepTime
 public long sleepTime()

All Packages  Class Hierarchy  This Package  Previous  Next  Index