public abstract class AbstractTellRule extends AbstractRule
| Constructor and Description |
|---|
AbstractTellRule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canFire(int playerID,
GameState state) |
boolean |
couldFire(int playerID,
GameState state)
Return true if it is possible this rule could fire, and return false if you can guarantee that it cannot fire.
|
Action |
tellMissingPrioritiseColour(Hand hand,
int playerID,
int slot) |
Action |
tellMissingPrioritiseValue(Hand hand,
int playerID,
int slot) |
selectPlayerpublic boolean canFire(int playerID,
GameState state)
canFire in interface RulecanFire in class AbstractRulepublic Action tellMissingPrioritiseColour(Hand hand, int playerID, int slot)
public Action tellMissingPrioritiseValue(Hand hand, int playerID, int slot)
public boolean couldFire(int playerID,
GameState state)
RuleplayerID - The player id that is this turnstate - The state of the boardCopyright © 2017 FOSS Galaxy. All rights reserved.