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.
-
TripwireStrategy()
-
-
TripwireStrategy(Buffer, TextArea, Camera)
-
The strategy thread for the player.
-
flippersCheck()
- Check if the flippers need to be reset and then decide if they need to be flipped.
-
option()
- Resize to only see a line above the flippers.
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.
TripwireStrategy
public TripwireStrategy()
option
public void option()
- Resize to only see a line above the flippers.
- Overrides:
- option in class Strategy
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