public class AvatarNumberConstraint extends AbstractConstraint
| Modifier and Type | Field and Description |
|---|---|
GameAnalyzer |
gameAnalyzer
Object for game analyzer
|
java.util.HashMap<java.lang.String,java.lang.Integer> |
numOfObjects
hashmap contains the number of objects for each type
|
| Constructor and Description |
|---|
AvatarNumberConstraint() |
| Modifier and Type | Method and Description |
|---|---|
double |
checkConstraint()
Check if there is only 1 avatar in the level
|
setParameterspublic java.util.HashMap<java.lang.String,java.lang.Integer> numOfObjects
public GameAnalyzer gameAnalyzer
public double checkConstraint()
checkConstraint in class AbstractConstraint