1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-09 08:52:51 +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

@@ -10,6 +10,7 @@ import com.l2jserver.model.world.character.CharacterAttributes;
import com.l2jserver.model.world.character.CharacterBaseAttributes;
import com.l2jserver.model.world.character.CharacterCalculatedAttributes;
import com.l2jserver.model.world.character.CharacterClass;
import com.l2jserver.model.world.character.CharacterFriendList;
import com.l2jserver.model.world.character.CharacterInventory;
/**
@@ -59,6 +60,10 @@ public class L2Character extends Player {
* The attributes of this character
*/
private final CharacterAttributes attributes;
/**
* The list of friend of this character
*/
private final CharacterFriendList friendList = new CharacterFriendList(this);
/**
* Creates a new instance
@@ -211,4 +216,11 @@ public class L2Character extends Player {
public CharacterAttributes getAttributes() {
return attributes;
}
/**
* @return the friendList
*/
public CharacterFriendList getFriendList() {
return friendList;
}
}