Package com.l2jfrozen.gameserver.model.entity.siege

Examples of com.l2jfrozen.gameserver.model.entity.siege.Castle.checkIfInZone()


      Castle castle = CastleManager.getInstance().getCastleById(activeChar.getClan().getHasCastle());

      if(door == null || castle == null)
        return false;

      if(castle.checkIfInZone(door.getX(), door.getY(), door.getZ()))
      {
        door.openMe();
      }

      door = null;
View Full Code Here


      Castle castle = CastleManager.getInstance().getCastleById(activeChar.getClan().getHasCastle());

      if(door == null || castle == null)
        return false;

      if(castle.checkIfInZone(door.getX(), door.getY(), door.getZ()))
      {
        door.closeMe();
      }
      door = null;
      castle = null;
View Full Code Here

  {
    Castle castle;
    for(int i = 0; i < getCastles().size(); i++)
    {
      castle = getCastles().get(i);
      if(castle != null && castle.checkIfInZone(x, y, z))
      {
        castle = null;
        return i;
      }
    }
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.