|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.lib.predicates.StringPropertyPredicate
Checks if the object has a String property with the given name and value.
Constructor Summary | |
StringPropertyPredicate(java.lang.String name,
java.lang.String value)
Constructs a new StringPropertyPredicate |
Method Summary | |
boolean |
predicate(GameObject obj)
Tests for the presence of the specified property+value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StringPropertyPredicate(java.lang.String name, java.lang.String value)
name
- the property name to checkvalue
- the property value to checkMethod Detail |
public boolean predicate(GameObject obj)
predicate
in interface Predicate
obj
- the object to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |