All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.player.morsecode.MorseCodeStub

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----pinball.player.Stub
                   |
                   +----pinball.player.morsecode.MorseCodeStub

public class MorseCodeStub
extends Stub
Used for decoding flashes of light as morse code.


Constructor Index

 o MorseCodeStub()
Needed for when this class is extended.
 o MorseCodeStub(Buffer, TextArea, Strategy, Camera)
The stub for the strategy.

Method Index

 o appendText(String)
 o findFlippers(int)
Search for the flipper the number of times given.
 o setText(String)
 o statistics()
Check the list of statistic events and see what to log.

Constructors

 o MorseCodeStub
 public MorseCodeStub(Buffer buffer,
                      TextArea gameStats,
                      Strategy strategy,
                      Camera camera)
The stub for the strategy.

Parameters:
buffer - The first buffer for the information buffers.
gameStats - the area on the screen to write stats info.
strategy - the strategy thread.
camera - the camera for the system.
 o MorseCodeStub
 public MorseCodeStub()
Needed for when this class is extended.

Methods

 o findFlippers
 public void findFlippers(int quantity)
Search for the flipper the number of times given.

Parameters:
quantity - number of times to look for the flippers.
Overrides:
findFlippers in class Stub
 o statistics
 public void statistics()
Check the list of statistic events and see what to log.

Overrides:
statistics in class Stub
 o setText
 public void setText(String text)
 o appendText
 public void appendText(String text)

All Packages  Class Hierarchy  This Package  Previous  Next  Index