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.
-
oldFlipperZone
- Old flipperZone.
-
oldHeight
- Old Height.
-
oldWidth
- Old width.
-
oldXOffset
- Old Xoffset.
-
oldYOffset
- Old Yoffset.
-
resizedFull
- Did it go to full screen.
-
resizedSmall
- Did it go to small screen.
-
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.
oldWidth
private int oldWidth
- Old width.
oldHeight
private int oldHeight
- Old Height.
oldXOffset
private int oldXOffset
- Old Xoffset.
oldYOffset
private int oldYOffset
- Old Yoffset.
oldFlipperZone
private int oldFlipperZone
- Old flipperZone.
resizedFull
private boolean resizedFull
- Did it go to full screen.
resizedSmall
private boolean resizedSmall
- Did it go to small screen.
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