Package l2p.gameserver.model.entity.residence

Examples of l2p.gameserver.model.entity.residence.Residence.checkIfInZone()


    Residence castle = CastleManager.getInstance().getCastleByIndex(activeChar.getClan().getHasCastle());
    if(door == null || castle == null)
    {
      return false;
    }
    if(target.equals("doors") && activeChar.isClanLeader() && castle.checkIfInZone(door.getX(), door.getY()))
    {
      if(command.startsWith("open"))
      {
        door.openMe();
      }
View Full Code Here


  {
    Residence castle;
    for(int i = 1; i <= getCastles().size(); i++)
    {
      castle = getCastles().get(i);
      if(castle != null && castle.checkIfInZone(x, y))
      {
        return i;
      }
    }
    return -1;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.