All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.player.random.RandomRemoteStrategy

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----pinball.player.Strategy
                   |
                   +----pinball.player.random.RandomStrategy
                           |
                           +----pinball.player.random.RandomRemoteStrategy

public class RandomRemoteStrategy
extends RandomStrategy
Player who randomly flips the flippers.


Variable Index

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

Constructor Index

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

Variables

 o rest
 private int rest
Time to rest between flips.

 o flip
 private boolean flip
Did flip take place.

Constructors

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