com.perisic.shadow
Class Shadow

java.lang.Object
  extended by com.perisic.shadow.Shadow
Direct Known Subclasses:
CalamityShadow, SmileShadow

public class Shadow
extends java.lang.Object

A common base class for all shadows.

For a description of the functionality of the shadow concept see Shadowable.

Note that a shadow cannot be shadowed. However an object or class can have multiple shadows.


Constructor Summary
Shadow()
           
 
Method Summary
 Shadowable shadowOwner()
          Returns the object that is shadowed by this shadow.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shadow

public Shadow()
Method Detail

shadowOwner

public Shadowable shadowOwner()
Returns the object that is shadowed by this shadow.

Returns:
The object shadowed by this.