All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.player.tripwire.TripwireStrategy

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----pinball.player.Strategy
                   |
                   +----pinball.player.tripwire.TripwireStrategy

public class TripwireStrategy
extends Strategy
The strategy thread for the player who sees only a line near the flippers.


Constructor Index

 o TripwireStrategy()
 o TripwireStrategy(Buffer, TextArea, Camera)
The strategy thread for the player.

Method Index

 o flippersCheck()
Check if the flippers need to be reset and then decide if they need to be flipped.
 o option()
Resize to only see a line above the flippers.

Constructors

 o TripwireStrategy
 public TripwireStrategy(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 TripwireStrategy
 public TripwireStrategy()

Methods

 o option
 public void option()
Resize to only see a line above the flippers.

Overrides:
option in class Strategy
 o flippersCheck
 public void flippersCheck()
Check if the flippers need to be reset and then decide if they need to be flipped.

Overrides:
flippersCheck in class Strategy

All Packages  Class Hierarchy  This Package  Previous  Next  Index