1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-12 02:02:51 +00:00

Change-Id: I0cca627373c68d94025647f802a7fa6b419e0aad

This commit is contained in:
rogiel
2011-04-30 01:51:36 -03:00
parent f1d8e6588f
commit f454e3c35a
74 changed files with 2744 additions and 255 deletions

View File

@@ -1,25 +1,22 @@
package com.l2jserver.model.world;
import com.l2jserver.model.world.capability.Child;
import com.l2jserver.model.id.CharacterID;
import com.l2jserver.model.world.capability.Summonable;
import com.l2jserver.util.Coordinate;
public class Pet extends Player implements Child<L2Character>, Summonable {
@Override
public L2Character getParent() {
return null;
}
public class Pet extends Player implements Summonable {
private CharacterID ownerID;
@Override
public void teleport(Coordinate coordinate) {
// TODO Auto-generated method stub
}
@Override
public void summon(Coordinate coordinate) {
// TODO Auto-generated method stub
}
@Override
@@ -27,4 +24,26 @@ public class Pet extends Player implements Child<L2Character>, Summonable {
// TODO Auto-generated method stub
return false;
}
/**
* @return the ownerID
*/
public CharacterID getOwnerID() {
return ownerID;
}
/**
* @return the owner
*/
public L2Character getOwner() {
return ownerID.getObject();
}
/**
* @param ownerID
* the ownerID to set
*/
public void setOwnerID(CharacterID ownerID) {
this.ownerID = ownerID;
}
}