1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-17 04:22:47 +00:00

Change-Id: I375a10c9d7ce56df457a998e5cb9d02465865973

This commit is contained in:
rogiel
2011-04-29 20:17:57 -03:00
parent 0662150229
commit f1d8e6588f
16 changed files with 825 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package com.l2jserver.model.world.capability;
import com.l2jserver.model.world.AbstractObject;
import com.l2jserver.model.world.actor.ActorEvent;
import com.l2jserver.model.world.actor.ActorListener;
/**
* Defines an {@link AbstractObject} that defines an Actor (NPC, player, pet,
* etc...)
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public interface Actor extends Listenable<ActorListener, ActorEvent>,
Spawnable, Positionable, Damagable, Attackable, Attacker, Castable,
Caster, Levelable, Killable, Equiper, Equipable {
}

View File

@@ -0,0 +1,14 @@
package com.l2jserver.model.world.capability;
import com.l2jserver.model.world.AbstractObject;
/**
* Defines an {@link AbstractObject} that can become invisible to other objects.
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public interface Invisible extends ObjectCapability {
boolean isInvisible();
void setInvisible();
}

View File

@@ -0,0 +1,11 @@
package com.l2jserver.model.world.capability;
import com.l2jserver.model.world.AbstractObject;
/**
* Defines an {@link AbstractObject} that can talk to an {@link Conversable}.
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public interface Talker extends ObjectCapability {
}

View File

@@ -0,0 +1,15 @@
package com.l2jserver.model.world.capability;
import com.l2jserver.model.world.AbstractObject;
import com.l2jserver.util.Coordinate;
/**
* Defines an {@link AbstractObject} that can be teleported by
* {@link Teleporter} objects. Note that it is also possible to teleport
* <b>without</b> a teleporter!
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public interface Teleportable extends ObjectCapability, Positionable, Spawnable {
void teleport(Coordinate coordinate);
}

View File

@@ -0,0 +1,14 @@
package com.l2jserver.model.world.capability;
import com.l2jserver.model.world.AbstractObject;
import com.l2jserver.util.Coordinate;
/**
* Defines an {@link AbstractObject} that can teleport {@link Teleportable}
* objects.
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public interface Teleporter extends ObjectCapability {
void teleport(Coordinate coord, Teleportable target);
}