All Packages Class Hierarchy This Package Previous Next Index
Class pinball.player.Post
java.lang.Object
|
+----java.lang.Thread
|
+----pinball.player.Post
- public class Post
- extends Thread
This is where the picture is displayed to.
It does the drawing of the image, ball location, flippers, flipper zone, in play and out
of play area.
-
buffer
- The current information buffer.
-
buffinfo
- The information in the buffer.
-
canvas
- Area to draw to.
-
framerate
- Frame from for image display.
-
stub
- Stub from the strategy.
-
Post()
- Used in the extended classed.
-
Post(Buffer)
-
Initalize the DrawingBoard.
-
canvas(int, int)
- Create the canvas drawn to.
-
getCanvas()
- Get the canvas drawn to.
-
run()
- Keep looking at the images and draw them at the frame rate from GameOptions.
-
setupStub()
- Setup the stub in the drawing canvas.
-
toString()
- Get the name of the object.
buffer
protected Buffer buffer
- The current information buffer.
buffinfo
protected BufferInfo buffinfo
- The information in the buffer.
framerate
protected int framerate
- Frame from for image display.
canvas
protected DrawingCanvas canvas
- Area to draw to.
stub
protected Stub stub
- Stub from the strategy.
Used for drawing lines on the screen for analysis.
Post
public Post(Buffer buffer)
- Initalize the DrawingBoard.
- Parameters:
- buffer - the first in the series of infomation buffers.
Post
public Post()
- Used in the extended classed.
toString
public String toString()
- Get the name of the object.
- Parameters:
- name - of the object.
- Overrides:
- toString in class Thread
canvas
public DrawingCanvas canvas(int x,
int y)
- Create the canvas drawn to.
- Parameters:
- x - Width of canvas.
- y - Height of canvas.
- Returns:
- the canvas to drawn on.
getCanvas
public DrawingCanvas getCanvas()
- Get the canvas drawn to.
- Returns:
- the canvas drawn to.
run
public void run()
- Keep looking at the images and draw them at the frame rate from GameOptions.
- Overrides:
- run in class Thread
setupStub
public void setupStub()
- Setup the stub in the drawing canvas.
All Packages Class Hierarchy This Package Previous Next Index