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.


Variable Index

 o oldFlipperZone
Old flipperZone.
 o oldHeight
Old Height.
 o oldWidth
Old width.
 o oldXOffset
Old Xoffset.
 o oldYOffset
Old Yoffset.
 o resizedFull
Did it go to full screen.
 o resizedSmall
Did it go to small screen.

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.

Variables

 o oldWidth
 private int oldWidth
Old width.

 o oldHeight
 private int oldHeight
Old Height.

 o oldXOffset
 private int oldXOffset
Old Xoffset.

 o oldYOffset
 private int oldYOffset
Old Yoffset.

 o oldFlipperZone
 private int oldFlipperZone
Old flipperZone.

 o resizedFull
 private boolean resizedFull
Did it go to full screen.

 o resizedSmall
 private boolean resizedSmall
Did it go to small screen.

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