public class PlayableSuspicionStrategy extends SuspicionStrategy
| Modifier and Type | Class and Description |
|---|---|
private class |
PlayableSuspicionStrategy.SuspicionGUI |
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.Object |
lock |
strategy| Constructor and Description |
|---|
PlayableSuspicionStrategy(java.lang.String strategy) |
| Modifier and Type | Method and Description |
|---|---|
private CardSet |
computerStrategy(Player agent) |
private boolean |
manualInput(int agent) |
private CardSet |
manualStrategy(Player agent) |
CardSet |
strategy(Player agent)
The user is asked whether he/she wants to play this strategy manually.
|
complexStrat, defaultStrat, getOptions, getStrategypublic PlayableSuspicionStrategy(java.lang.String strategy)
public CardSet strategy(Player agent)
strategy in class SuspicionStrategyagent - The agent that plays this strategyprivate boolean manualInput(int agent)