public class SpriteNumberConstraint 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 |
---|
SpriteNumberConstraint() |
Modifier and Type | Method and Description |
---|---|
double |
checkConstraint()
Check if the current constrain is achieved or not
|
setParameters
public java.util.HashMap<java.lang.String,java.lang.Integer> numOfObjects
public GameAnalyzer gameAnalyzer
public double checkConstraint()
AbstractConstraint
checkConstraint
in class AbstractConstraint