|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.lib.predicates.ThisObjectPredicate
A Predicate that matches a particular Object using equals().
Field Summary | |
protected GameObject |
target_
|
Constructor Summary | |
ThisObjectPredicate(GameObject target)
Constructs a new ThisObjectPredicate |
Method Summary | |
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 GameObject target_
Constructor Detail |
public ThisObjectPredicate(GameObject target)
Method Detail |
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 |