|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.lib.commands.OpenCommand.KeyPredicate
A predicate to look for a key that will open the specified lock.
Constructor Summary | |
OpenCommand.KeyPredicate(Lock lock)
Constructs a new KeyPredicate |
Method Summary | |
boolean |
predicate(GameObject obj)
Returns true if the object is a key that can unlock the passed lock. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OpenCommand.KeyPredicate(Lock lock)
Method Detail |
public boolean predicate(GameObject obj)
predicate
in interface Predicate
obj
- any GameObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |