public class WinConstraint extends AbstractConstraint
Modifier and Type | Field and Description |
---|---|
Types.WINNER |
bestPlayer
the winning state of the player
|
Constructor and Description |
---|
WinConstraint() |
Modifier and Type | Method and Description |
---|---|
double |
checkConstraint()
check if the player win the game
|
setParameters
public Types.WINNER bestPlayer
public double checkConstraint()
checkConstraint
in class AbstractConstraint