added vlad changes

buko [2003-10-26 17:59:54]
added vlad changes
Filename
aether2/hercules/src/java/memento/world/model/Avatar.java
aether2/hercules/src/java/memento/world/model/WorldModel.java
aether2/hercules/src/java/memento/world/model/WorldObject.java
diff --git a/aether2/hercules/src/java/memento/world/model/Avatar.java b/aether2/hercules/src/java/memento/world/model/Avatar.java
deleted file mode 100644
index 03936f4..0000000
--- a/aether2/hercules/src/java/memento/world/model/Avatar.java
+++ /dev/null
@@ -1,24 +0,0 @@
-package memento.world.model;
-
-/**
- * Represents an active user in the world.
- *
- * @author Buko O. (buko@concedere.net)
- * @version 0.1
- **/
-public interface Avatar extends LocatableWorldObject
-{
-	/**
-	 * Get the GUID of the client this avatar represents.
-	 *
-	 * @return GUID of the client
-	 */
-	public String getClientGuid();
-
-	/**
-	 * Set the GUID of the client this avatar represents.
-	 *
-	 * @param guid GUID of the client
-	 */
-	public void setClientGuid(String guid);
-}
diff --git a/aether2/hercules/src/java/memento/world/model/WorldModel.java b/aether2/hercules/src/java/memento/world/model/WorldModel.java
deleted file mode 100644
index c4f190e..0000000
--- a/aether2/hercules/src/java/memento/world/model/WorldModel.java
+++ /dev/null
@@ -1,66 +0,0 @@
-package memento.world.model;
-
-import aether.server.framework.Identifiable;
-import aether.server.framework.Advertising;
-
-import java.util.Map;
-
-/**
- * Component that describes the state of the world.
- *
- * @author Buko O. (buko@concedere.net)
- * @version 0.1
- **/
-public interface WorldModel extends Advertising
-{
-	/**
-	 * Create an object in the world.
-	 *
-	 * @param c    class of the object to create
-	 * @return WorldObject instance of the given class
-	 */
-	public WorldObject create(Class c, Map params);
-
-	/**
-	 * Retrieve an object from the world by its guid.
-	 *
-	 * @param guid unique id of the object to retrieve
-	 * @return WorldObject of the given type
-	 */
- 	public WorldObject retrieve(String guid);
-
-	/**
-	 * Destroy an object in the world.
-	 *
-	 * @param wo Object to destroy in the world
-	 */
-    public void destroy(WorldObject wo);
-
-	/**
-	 * Enter an object for the first time.
-	 *
-	 * @param wo WorldObject to enter the world
-	 */
-	public void enter(WorldObject wo);
-
-	/**
-	 * An object has exited.
-	 *
-	 * @param wo WorldObject that's exited the world
-	 */
-	public void exit(WorldObject wo);
-
-	/**
-	 * Add a listener to the world model.
-	 *
-	 * @param wml listener to the world to add
-	 */
-    public void addWorldModelListener(WorldModelListener wml);
-
-	/**
-	 * Remove a listener from the world model.
-	 *
-	 * @param wml listener to remove from the world
-	 */
-	public void removeWorldModelListener(WorldModelListener wml);
-}
diff --git a/aether2/hercules/src/java/memento/world/model/WorldObject.java b/aether2/hercules/src/java/memento/world/model/WorldObject.java
deleted file mode 100644
index bf66de9..0000000
--- a/aether2/hercules/src/java/memento/world/model/WorldObject.java
+++ /dev/null
@@ -1,80 +0,0 @@
-package memento.world.model;
-
-import aether.server.framework.Identifiable;
-
-import java.beans.PropertyChangeListener;
-
-/**
- * Defines an object in the world.
- *
- * @author Buko O. (buko@concedere.net)
- * @version 0.1
- **/
-public interface WorldObject extends Identifiable
-{
-
-	/**
-	 * Name of the bound size property.
-	 */
-	public static final String SizeProperty = "size";
-
-	/**
-	 * Property indicating the WorldModel this object belongs to.
-	 */
-	public static final String WorldModelProperty = "world-model";
-
-   /**
-	* Get the size of the object.
-	*/
-	public Dimension getSize();
-
-	/**
-	 * Set the size of the object.
-	 */
-	public void setSize(Dimension dim);
-
-	/**
-	 * Get the WorldModel this object belongs to.
-	 */
-	public WorldModel getWorldModel();
-
-	/**
-	 * Set the WorldModel this object belongs to.
-	 */
-	public void setWorldModel(WorldModel model);
-
-	/**
-	 * Called when the WorldObject is about to be destroyed.
-	 */
-	public void destroy();
-
-	/**
-	 * Add a listener to know when the world object changes.
-	 */
-	public void addPropertyChangeListener(PropertyChangeListener pcl);
-
-	/**
-	 * Add a listener to a specific property.
-	 *
-	 * @param name name of the property to monitor
-	 * @param pcl
-	 */
-	public void addPropertyChangeListener(String name,
-										  PropertyChangeListener pcl);
-
-	/**
-	 * Remove a listener.
-	 *
-	 * @param pcl listener to remove
-	 */
-	public void removePropertyChangeListener(PropertyChangeListener pcl);
-
-	/**
-	 * Remove a listener from a specific property.
-	 *
-	 * @param name name of the property to monitor
-	 * @param pcl  listener to remove
-	 */
-	public void removePropertyChangeListener(String name,
-											 PropertyChangeListener pcl);
-}