All Packages Class Hierarchy This Package Previous Next Index
Class pinball.player.morsecode.MorseCodeStrategy
java.lang.Object
|
+----java.lang.Thread
|
+----pinball.player.Strategy
|
+----pinball.player.morsecode.MorseCodeStrategy
- public class MorseCodeStrategy
- extends Strategy
Translate the flashes of morsecode to text..
-
MorseCodeStrategy()
- For extended classes.
-
MorseCodeStrategy(Buffer, TextArea, Camera)
-
The strategy thread for the player.
-
decision()
- Should you flip or not.
-
decodeChar(String)
-
-
option()
- For extended classes.
-
timeRange(long, long, long)
-
MorseCodeStrategy
public MorseCodeStrategy(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.
MorseCodeStrategy
public MorseCodeStrategy()
- For extended classes.
timeRange
public boolean timeRange(long target,
long leeway,
long time)
option
public void option()
- For extended classes.
- Overrides:
- option in class Strategy
decision
public void decision()
- Should you flip or not. It never flips.
- Overrides:
- decision in class Strategy
decodeChar
public char decodeChar(String code)
All Packages Class Hierarchy This Package Previous Next Index