All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.player.resize.ResizeStrategy

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----pinball.player.Strategy
                   |
                   +----pinball.player.resize.ResizeStrategy

public class ResizeStrategy
extends Strategy
The strategy thread for the player.


Variable Index

 o flipperStart
Flipper Start.
 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 ResizeStrategy()
For extended classes.
 o ResizeStrategy(Buffer, TextArea, Camera)
The strategy thread for the player.

Method Index

 o option()
The option for this strategy does the resizing.

Variables

 o oldWidth
 protected int oldWidth
Old width.

 o oldHeight
 protected int oldHeight
Old Height.

 o oldXOffset
 protected int oldXOffset
Old Xoffset.

 o oldYOffset
 protected int oldYOffset
Old Yoffset.

 o oldFlipperZone
 protected int oldFlipperZone
Old flipperZone.

 o flipperStart
 protected int flipperStart
Flipper Start.

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

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

Constructors

 o ResizeStrategy
 public ResizeStrategy()
For extended classes.

 o ResizeStrategy
 public ResizeStrategy(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.

Methods

 o option
 public void option()
The option for this strategy does the resizing.

Overrides:
option in class Strategy

All Packages  Class Hierarchy  This Package  Previous  Next  Index