com.amoebacode.blackjack.strategy
Class StrategyReminder
java.lang.Object
|
+--com.amoebacode.blackjack.strategy.StrategyReminder
- class StrategyReminder
- extends java.lang.Object
StrategyException is used to indicate when the user has made an incorrect
playing decision.
- Version:
- 0.9
- Author:
- Jason Gurney
|
Field Summary |
private java.lang.String |
correctMove
The correct basic strategy play for the user's current situation |
private java.lang.String |
playerScore
A text description of the user's current situation |
|
Constructor Summary |
protected |
StrategyReminder(java.lang.String playerScore,
java.lang.String correctMove)
Default protected constructor. |
|
Method Summary |
protected java.lang.String |
getCorrectMove()
Returns the correct basic strategy play for the user's current situation. |
protected java.lang.String |
getPlayerScore()
Returns a text description of the user's current situation. |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
playerScore
private java.lang.String playerScore
- A text description of the user's current situation
correctMove
private java.lang.String correctMove
- The correct basic strategy play for the user's current situation
StrategyReminder
protected StrategyReminder(java.lang.String playerScore,
java.lang.String correctMove)
- Default protected constructor.
- Parameters:
playerScore - a text description of the user's current situationcorrectMove - the correct basic strategy play
getPlayerScore
protected java.lang.String getPlayerScore()
- Returns a text description of the user's current situation.
- Returns:
- a text description of the user's current situation
getCorrectMove
protected java.lang.String getCorrectMove()
- Returns the correct basic strategy play for the user's current situation.
- Returns:
- the correct basic strategy play
Copyright © 2002 amoebacode.com.