[mud4j-commit] SF.net SVN: mud4j: [46] trunk/mud4j-core/src/java/net/sf/mud4j/world
Status: Pre-Alpha
Brought to you by:
mpurland
From: <mpu...@us...> - 2006-12-24 01:36:23
|
Revision: 46 http://mud4j.svn.sourceforge.net/mud4j/?rev=46&view=rev Author: mpurland Date: 2006-12-23 17:36:22 -0800 (Sat, 23 Dec 2006) Log Message: ----------- Refactor directions to room instead of a location. Modified Paths: -------------- trunk/mud4j-core/src/java/net/sf/mud4j/world/Location.java trunk/mud4j-core/src/java/net/sf/mud4j/world/Room.java Modified: trunk/mud4j-core/src/java/net/sf/mud4j/world/Location.java =================================================================== --- trunk/mud4j-core/src/java/net/sf/mud4j/world/Location.java 2006-12-24 01:32:49 UTC (rev 45) +++ trunk/mud4j-core/src/java/net/sf/mud4j/world/Location.java 2006-12-24 01:36:22 UTC (rev 46) @@ -33,25 +33,8 @@ * @author Matthew Purland */ public interface Location extends Effectable { - + /** - * Add a direction to the location. - * @param direction Direction to add to the room. - */ - public void addDirection(Direction direction); - - /** - * Remove a direction from the location. - */ - public void removeDirection(Direction direction); - - /** - * Get list of directions for the location. - * @return Returns the list implementation for the location. - */ - public List<Direction> getDirections(); - - /** * Move a {@link Placeable} object to this location. * @param placeable Placeable object to move to this location. */ 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-24 01:32:49 UTC (rev 45) +++ trunk/mud4j-core/src/java/net/sf/mud4j/world/Room.java 2006-12-24 01:36:22 UTC (rev 46) @@ -40,21 +40,23 @@ } /** - * {@inheritDoc} + * Add a direction to the location. + * @param direction Direction to add to the room. */ public void addDirection(Direction direction) { directionList.add(direction); } /** - * {@inheritDoc} + * Remove a direction from the location. */ public void removeDirection(Direction direction) { directionList.remove(direction); } /** - * {@inheritDoc} + * Get list of directions for the location. + * @return Returns the list implementation for the location. */ public List<Direction> getDirections() { return directionList; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |