All Packages Class Hierarchy This Package Previous Next Index
Class pinball.player.nopinball.NoPinballStrategy
java.lang.Object
|
+----java.lang.Thread
|
+----pinball.player.Strategy
|
+----pinball.player.nohit.NoHitStrategy
|
+----pinball.player.nopinball.NoPinballStrategy
- public class NoPinballStrategy
- extends NoHitStrategy
No pinball machine, so nothing to do.
-
NoPinballStrategy(Buffer, TextArea, Camera)
-
The strategy thread for the player.
-
draw(Graphics, int, int)
- Draw's nothing on the screen.
-
flippersCheck()
- Have a decision to move the mouse pointer.
NoPinballStrategy
public NoPinballStrategy(Buffer buffer,
TextArea gameStats,
Camera camera)
- The strategy thread for the player.
- Parameters:
- buffer - the first buffer in the series of buffers for the system.
- gameStats - the area to write the game stats to.
- camera - the camera for the system.
flippersCheck
public void flippersCheck()
- Have a decision to move the mouse pointer.
- Overrides:
- flippersCheck in class Strategy
draw
public void draw(Graphics g,
int canvasWidth,
int canvasHeight)
- Draw's nothing on the screen.
- Parameters:
- g - the graphics to draw to.
- cavasWidth - the width of the canvas.
- canvcasHeight - the hight of the canvas.
- Overrides:
- draw in class Strategy
All Packages Class Hierarchy This Package Previous Next Index