|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.lib.predicates.NotThisObjectPredicate
A predicate to exclude a particular object from a search.
Field Summary | |
protected java.util.List |
targets_
|
Constructor Summary | |
NotThisObjectPredicate(GameObject target)
Constructs a new NotThisObjectPredicate |
Method Summary | |
void |
addObject(GameObject target)
Adds another object to exclude. |
boolean |
predicate(GameObject obj)
Checks an object to see if it matches the target. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.List targets_
Constructor Detail |
public NotThisObjectPredicate(GameObject target)
Method Detail |
public void addObject(GameObject target)
public boolean predicate(GameObject obj)
predicate
in interface Predicate
obj
- any argument
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |