public class FrostbiteDomain.InWaterPF extends PropositionalFunction
name, parameterClasses, parameterOrderGroup
Constructor and Description |
---|
InWaterPF(java.lang.String name,
int width,
int agentSize,
int gameIceHeight,
int numberPlatformCol,
int platformSpeed) |
Modifier and Type | Method and Description |
---|---|
boolean |
isTrue(OOState st,
java.lang.String... params)
Returns whether the propositional function is true for the given state with the given parameters
This version is preferred to the comma delimited version.
|
allGroundings, allGroundingsFromList, equals, findPF, getName, getParameterClasses, getParameterOrderGroups, hashCode, init, someGroundingIsTrue, toString
public InWaterPF(java.lang.String name, int width, int agentSize, int gameIceHeight, int numberPlatformCol, int platformSpeed)
public boolean isTrue(OOState st, java.lang.String... params)
PropositionalFunction
isTrue
in class PropositionalFunction
st
- the state that is being checkedparams
- the parameters being passed in to the propositional function