All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.player.constant.ConstantRemoteStrategy

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----pinball.player.Strategy
                   |
                   +----pinball.player.constant.ConstantStrategy
                           |
                           +----pinball.player.constant.ConstantRemoteStrategy

public class ConstantRemoteStrategy
extends ConstantStrategy
The constant player's strategy. Constantly flips flippers.


Variable Index

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

Constructor Index

 o ConstantRemoteStrategy(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 ConstantRemoteStrategy
 public ConstantRemoteStrategy(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