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) |
selectPlayer
public boolean canFire(int playerID, GameState state)
canFire
in interface Rule
canFire
in class AbstractRule
public Action tellMissingPrioritiseColour(Hand hand, int playerID, int slot)
public Action tellMissingPrioritiseValue(Hand hand, int playerID, int slot)
public boolean couldFire(int playerID, GameState state)
Rule
playerID
- The player id that is this turnstate
- The state of the boardCopyright © 2017 FOSS Galaxy. All rights reserved.