All Packages Class Hierarchy This Package Previous Next Index
Class pinball.player.constantpartial.ConstantPartialStrategy
java.lang.Object
|
+----java.lang.Thread
|
+----pinball.player.Strategy
|
+----pinball.player.constantpartial.ConstantPartialStrategy
- public class ConstantPartialStrategy
- extends Strategy
Player which constantly flips the flippers only when the ball is in the frame.
-
ConstantPartialStrategy()
- For extended classed.
-
ConstantPartialStrategy(Buffer, TextArea, Camera)
-
The strategy thread for the player.
-
decision()
- Should you flip or not.
ConstantPartialStrategy
public ConstantPartialStrategy()
- For extended classed.
ConstantPartialStrategy
public ConstantPartialStrategy(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.
decision
public void decision()
- Should you flip or not. This always flips.
- Overrides:
- decision in class Strategy
All Packages Class Hierarchy This Package Previous Next Index