[mud4j-commit] SF.net SVN: mud4j: [134] trunk/mud4j-core/src/java/net/sf/mud4j/world/ Placeable.jav
Status: Pre-Alpha
Brought to you by:
mpurland
From: <mpu...@us...> - 2007-06-03 01:38:39
|
Revision: 134 http://mud4j.svn.sourceforge.net/mud4j/?rev=134&view=rev Author: mpurland Date: 2007-06-02 18:38:24 -0700 (Sat, 02 Jun 2007) Log Message: ----------- Add getCurrentLocation method. Modified Paths: -------------- trunk/mud4j-core/src/java/net/sf/mud4j/world/Placeable.java Modified: trunk/mud4j-core/src/java/net/sf/mud4j/world/Placeable.java =================================================================== --- trunk/mud4j-core/src/java/net/sf/mud4j/world/Placeable.java 2007-06-03 01:31:19 UTC (rev 133) +++ trunk/mud4j-core/src/java/net/sf/mud4j/world/Placeable.java 2007-06-03 01:38:24 UTC (rev 134) @@ -16,20 +16,26 @@ package net.sf.mud4j.world; - /** - * Any object that implements this interface will - * be placeable within a {@link Location}. + * Any object that implements this interface will be placeable within a + * {@link Location}. * * @author Matthew Purland - * * @see Location */ public interface Placeable { /** * Move the placeable object to a location. + * * @param to Location to move to. */ - public void place(Location to); + void place(Location to); + + /** + * Get the current location of the placeable. + * + * @return The current location + */ + Location getCurrentLocation(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |