public class CountGoal
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
drop
The drop value.
|
protected int |
target
The target value.
|
Constructor and Description |
---|
CountGoal(int target,
int drop)
Create a new count goal.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
drop(int cnt)
Called whenever the counter belief changes.
|
protected boolean |
target(int cnt)
Called whenever the counter belief changes.
|