mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-17 04:22:47 +00:00
Character Friend implementation
Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
@@ -7,7 +7,7 @@ import com.l2jserver.model.world.AbstractObject;
|
||||
*
|
||||
* @author <a href="http://www.rogiel.com">Rogiel</a>
|
||||
*/
|
||||
public interface Joinable<T> extends ObjectCapability {
|
||||
public interface Joinable<T> extends ObjectCapability, Iterable<T> {
|
||||
/**
|
||||
* Join an <tt>member</tt> to this object.
|
||||
*
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
package com.l2jserver.model.world.capability;
|
||||
|
||||
import com.l2jserver.model.world.AbstractObject;
|
||||
import com.l2jserver.service.game.scripting.Script;
|
||||
|
||||
/**
|
||||
* Defines an {@link AbstractObject} that can be controller by an {@link Script}
|
||||
* implementation.
|
||||
*
|
||||
* @author <a href="http://www.rogiel.com">Rogiel</a>
|
||||
*/
|
||||
public interface Scriptable extends ObjectCapability {
|
||||
/**
|
||||
* The the current script attached to this object
|
||||
*
|
||||
* @return the attached script
|
||||
*/
|
||||
Script<Scriptable> getScript();
|
||||
|
||||
/**
|
||||
* Set the attached script to this object
|
||||
*
|
||||
* @param script
|
||||
* the script
|
||||
*/
|
||||
void setScript(Script<Scriptable> script);
|
||||
}
|
||||
Reference in New Issue
Block a user