1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-16 03:52:50 +00:00

Completed documentation

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-05-14 13:27:28 -03:00
parent e9c6f1b027
commit 4b9d52e724
56 changed files with 716 additions and 26 deletions

View File

@@ -3,6 +3,14 @@ package com.l2jserver.model.world.clan;
import com.l2jserver.model.world.Clan;
import com.l2jserver.model.world.event.WorldEvent;
/**
* Base event for {@link Clan} objects
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public interface ClanEvent extends WorldEvent {
/**
* @return the clan
*/
Clan getClan();
}

View File

@@ -2,5 +2,10 @@ package com.l2jserver.model.world.clan;
import com.l2jserver.model.world.event.WorldListener;
/**
* Base listener for {@link ClanEvent}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public interface ClanListener extends WorldListener<ClanEvent> {
}

View File

@@ -26,6 +26,12 @@ public class ClanMembers implements Iterable<CharacterID> {
private final Set<CharacterID> members = CollectionFactory
.newSet(CharacterID.class);
/**
* Creates a new instance
*
* @param clan
* the clan
*/
public ClanMembers(Clan clan) {
this.clan = clan;
}