All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.player.adjustable.AdjustableStrategy

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----pinball.player.Strategy
                   |
                   +----pinball.player.adjustable.AdjustableStrategy

public class AdjustableStrategy
extends Strategy
Player which can have the flipper options adjusted.


Constructor Index

 o AdjustableStrategy()
For extended classes.
 o AdjustableStrategy(Buffer, TextArea, Camera)
The strategy thread for the player.

Method Index

 o decision()
Should you flip or not.

Constructors

 o AdjustableStrategy
 public AdjustableStrategy(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.
 o AdjustableStrategy
 public AdjustableStrategy()
For extended classes.

Methods

 o decision
 public void decision()
Should you flip or not. It never flips.

Overrides:
decision in class Strategy

All Packages  Class Hierarchy  This Package  Previous  Next  Index