wyvern.lib.predicates
Class BlocksLightPredicate

java.lang.Object
  extended bywyvern.lib.predicates.BlocksLightPredicate
All Implemented Interfaces:
Predicate

public class BlocksLightPredicate
extends java.lang.Object
implements Predicate

Predicate for checking if an object blocks light/visibility.

Version:
1.0, Oct 18, 1999
Author:
Steve Yegge

Constructor Summary
BlocksLightPredicate()
           
 
Method Summary
 boolean predicate(GameObject obj)
          Returns true if the object normally blocks visibility.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlocksLightPredicate

public BlocksLightPredicate()
Method Detail

predicate

public boolean predicate(GameObject obj)
Returns true if the object normally blocks visibility.

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