All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.player.adjustable.AdjustablePost

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----pinball.player.Post
                   |
                   +----pinball.player.adjustable.AdjustablePost

public class AdjustablePost
extends Post
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.


Variable Index

 o canvas

Constructor Index

 o AdjustablePost(Buffer)
Initalize the DrawingBoard.

Method Index

 o canvas(int, int)
Create the canvas drawn to.
 o getCanvas()
Get the canvas drawn to.
 o run()
Keep looking at the images and draw them at the frame rate from GameOptions.
 o setupStub()
Setup the stub in the drawing canvas.
 o toString()
Get the name of the object.

Variables

 o canvas
 protected AdjustableDrawingCanvas canvas

Constructors

 o AdjustablePost
 public AdjustablePost(Buffer buffer)
Initalize the DrawingBoard.

Parameters:
buffer - the first in the series of infomation buffers.

Methods

 o toString
 public String toString()
Get the name of the object.

Parameters:
name - of the object.
Overrides:
toString in class Post
 o canvas
 public DrawingCanvas canvas(int x,
                             int y)
Create the canvas drawn to.

Parameters:
x - Width of canvas.
y - Height of canvas.
Returns:
s the canvas to drawn on.
Overrides:
canvas in class Post
 o getCanvas
 public DrawingCanvas getCanvas()
Get the canvas drawn to.

Returns:
s the canvas drawn to.
Overrides:
getCanvas in class Post
 o run
 public void run()
Keep looking at the images and draw them at the frame rate from GameOptions.

Overrides:
run in class Post
 o setupStub
 public void setupStub()
Setup the stub in the drawing canvas.

Overrides:
setupStub in class Post

All Packages  Class Hierarchy  This Package  Previous  Next  Index