Examples of JumpPoint


Examples of lineage2.gameserver.templates.jump.JumpPoint

    if (way == null)
    {
      activeChar.onJumpingBreak();
      return;
    }
    JumpPoint point = way.getJumpPoint(_nextWayId);
    if (point == null)
    {
      activeChar.onJumpingBreak();
      return;
    }
    Location destLoc = point.getLocation();
    activeChar.broadcastPacketToOthers(new ExFlyMoveBroadcast(activeChar, 2, destLoc));
    activeChar.setLoc(destLoc);
    JumpTrack track = activeChar.getCurrentJumpTrack();
    if (track == null)
    {
View Full Code Here

Examples of lineage2.gameserver.templates.jump.JumpPoint

        for (Iterator<?> pointIterator = wayElement.elementIterator("point"); pointIterator.hasNext();)
        {
          Element pointElement = (Element) pointIterator.next();
          Location pointLoc = Location.parse(pointElement);
          int nextWayId = Integer.parseInt(pointElement.attributeValue("next_way_id"));
          jumpWay.addPoint(new JumpPoint(pointLoc, nextWayId));
        }
        jumpTrack.addWay(jumpWay);
      }
      getHolder().addTrack(jumpTrack);
    }
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.