wyvern.lib.spells
Class Knock.LockedDoorPredicate

java.lang.Object
  extended bywyvern.lib.spells.Knock.LockedDoorPredicate
All Implemented Interfaces:
Predicate
Enclosing class:
Knock

public static class Knock.LockedDoorPredicate
extends java.lang.Object
implements Predicate

A predicate that skips doors that are already unlocked.


Constructor Summary
Knock.LockedDoorPredicate()
           
 
Method Summary
 boolean predicate(GameObject ob)
          Checks an object to see if it passes the predicate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Knock.LockedDoorPredicate

public Knock.LockedDoorPredicate()
Method Detail

predicate

public boolean predicate(GameObject ob)
Description copied from interface: Predicate
Checks an object to see if it passes the predicate.

Specified by:
predicate in interface Predicate
Parameters:
ob - any GameObject
Returns:
true if the object passes, else false