public class DiscardProbablyUselessCard extends AbstractDiscardRule
CardComponent is useless if it cannot be played at all.
Probability that it is useless.
Can be useless because of a number of reasons CardComponent.value <= table[CardComponent.colour] CardComponent.value <= min(table) CardComponent.value > max(possible(CardComponent.colour))
Constructor and Description |
---|
DiscardProbablyUselessCard() |
DiscardProbablyUselessCard(double threshold) |
Modifier and Type | Method and Description |
---|---|
Action |
execute(int playerID,
GameState state) |
canFire, couldFire
Copyright © 2017 FOSS Galaxy. All rights reserved.