mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-17 04:22:47 +00:00
Change-Id: If18611eb0a6296da808aead8f1da54be094db2a9
This commit is contained in:
@@ -8,5 +8,5 @@ import com.l2jserver.model.world.AbstractObject;
|
||||
* @author <a href="http://www.rogiel.com">Rogiel</a>
|
||||
*/
|
||||
public interface Conversable extends ObjectCapability {
|
||||
|
||||
void talk(Talker talker);
|
||||
}
|
||||
|
||||
@@ -1,12 +1,19 @@
|
||||
package com.l2jserver.model.world.capability;
|
||||
|
||||
import com.l2jserver.model.world.AbstractObject;
|
||||
import com.l2jserver.util.Coordinate;
|
||||
|
||||
/**
|
||||
* Defines an {@link AbstractObject} that can be dropped on the ground.
|
||||
*
|
||||
* @author <a href="http://www.rogiel.com">Rogiel</a>
|
||||
*/
|
||||
public interface Dropable extends ObjectCapability {
|
||||
void drop();
|
||||
public interface Dropable extends Positionable {
|
||||
/**
|
||||
* When an item is dropped its position will be set as <tt>position</tt>
|
||||
*
|
||||
* @param position
|
||||
* the position
|
||||
*/
|
||||
void drop(Coordinate position);
|
||||
}
|
||||
|
||||
@@ -10,4 +10,5 @@ import com.l2jserver.util.Coordinate;
|
||||
*/
|
||||
public interface Positionable extends ObjectCapability {
|
||||
Coordinate getPosition();
|
||||
void setPosition(Coordinate coord);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user