net.sf.mud4j.effect
Class LocationEffectDecorator

java.lang.Object
  extended by net.sf.mud4j.effect.LocationEffectDecorator
All Implemented Interfaces:
Effectable, Location

public abstract class LocationEffectDecorator
extends java.lang.Object
implements Effectable, Location

Provide effect decorator/wrapping around a Location. Will delegate Location interface to wrapped object.

Author:
Matthew Purland

Constructor Summary
LocationEffectDecorator(Location location)
          Constructor to create an effect decorating a given location.
 
Method Summary
 void move(Placeable placeable)
          Move a Placeable object to this location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationEffectDecorator

public LocationEffectDecorator(Location location)
Constructor to create an effect decorating a given location.

Parameters:
location - Location to decorate.
Method Detail

move

public void move(Placeable placeable)
Move a Placeable object to this location.

Specified by:
move in interface Location
Parameters:
placeable - Placeable object to move to this location.


Copyright © 2006-2007 mud4j. All Rights Reserved.