[mud4j-commit] SF.net SVN: mud4j: [39] trunk/mud4j-core/src/java/net/sf/mud4j/world/Room. java
Status: Pre-Alpha
Brought to you by:
mpurland
From: <mpu...@us...> - 2006-12-23 17:14:02
|
Revision: 39 http://mud4j.svn.sourceforge.net/mud4j/?rev=39&view=rev Author: mpurland Date: 2006-12-23 09:13:59 -0800 (Sat, 23 Dec 2006) Log Message: ----------- Fix build to add effect behavior getter/setter to Room. Modified Paths: -------------- trunk/mud4j-core/src/java/net/sf/mud4j/world/Room.java Modified: trunk/mud4j-core/src/java/net/sf/mud4j/world/Room.java =================================================================== --- trunk/mud4j-core/src/java/net/sf/mud4j/world/Room.java 2006-12-23 17:11:23 UTC (rev 38) +++ trunk/mud4j-core/src/java/net/sf/mud4j/world/Room.java 2006-12-23 17:13:59 UTC (rev 39) @@ -19,7 +19,9 @@ import java.util.ArrayList; import java.util.List; +import net.sf.mud4j.effect.EffectBehavior; + /** * Defines rooms interface as a location that events happen within. * @@ -32,6 +34,7 @@ // List of directions private List<Direction> directionList = new ArrayList<Direction>(); + private EffectBehavior effectBehavior; public Room() { } @@ -64,4 +67,18 @@ placeable.place(this); } + + /** + * {@inheritDoc} + */ + public EffectBehavior getEffectBehavior() { + return effectBehavior; + } + + /** + * {@inheritDoc} + */ + public void setEffectBehavior(EffectBehavior effectBehavior) { + this.effectBehavior = effectBehavior; + } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |