1
0
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:
2011-05-13 15:46:33 -03:00
parent 632aaac548
commit bb3f24e8f4
23 changed files with 404 additions and 72 deletions

View File

@@ -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.
*

View File

@@ -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);
}