All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.player.constantpartial.ConstantPartialRemoteStrategy

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----pinball.player.Strategy
                   |
                   +----pinball.player.constantpartial.ConstantPartialStrategy
                           |
                           +----pinball.player.constantpartial.ConstantPartialRemoteStrategy

public class ConstantPartialRemoteStrategy
extends ConstantPartialStrategy
Player which constantly flips the flippers only when the ball is in the frame.


Variable Index

 o flip
Did flip take place.
 o reset
Time to rest between flips.

Constructor Index

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

Variables

 o reset
 private int reset
Time to rest between flips.

 o flip
 private boolean flip
Did flip take place.

Constructors

 o ConstantPartialRemoteStrategy
 public ConstantPartialRemoteStrategy(Buffer buffer,
                                      TextArea gameStats)
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.

All Packages  Class Hierarchy  This Package  Previous  Next  Index