Examples of Location


Examples of l2p.util.Location

      }
    }
    _flyLoc = null;
    if(skill.getFlyType() == FlyType.DUMMY || skill.getFlyType() == FlyType.CHARGE)
    {
      Location flyLoc = getFlyLocation(target, skill);
      if(flyLoc != null)
      {
        _flyLoc = flyLoc;
        broadcastPacket(new FlyToLocation(this, flyLoc, skill.getFlyType()));
      }
View Full Code Here

Examples of lineage2.gameserver.utils.Location

      {
        player.sendPacket(Msg.YOU_CANNOT_TELEPORT_TO_A_VILLAGE_THAT_IS_IN_A_SIEGE);
        return;
      }
    }
    final Location pos = Location.findPointToStay(x, y, z, 50, 100, player.getGeoIndex());
    if (price > 0)
    {
      player.reduceAdena(price, true);
    }
    player.teleToLocation(pos);
View Full Code Here

Examples of loci.common.Location

  }

  /* @see loci.formats.IFormatReader#fileGroupOption(String) */
  public int fileGroupOption(String id) throws FormatException, IOException {
    return checkSuffix(id, MDB_SUFFIX) ||
      !new Location(id).getName().startsWith("spim_") ? FormatTools.MUST_GROUP :
      FormatTools.CAN_GROUP;
  }
View Full Code Here

Examples of me.ashtheking.dragons.world.Location

        && worldObj.getCollidingBoundingBoxes(this, boundingBox).size() == 0
        && !worldObj.isAnyLiquid(boundingBox) && checkSpawn();
  }

  private boolean checkSpawn() {
    Location loc = new Location((int) posX, (int) posY, (int) posZ);
    if (mod_Dragon.holdManager == null)
      mod_Dragon.holdManager = new HoldManager(worldObj);
    Hold h = mod_Dragon.holdManager.getHold(loc);
    int x = 5;
    if (h != null) {
View Full Code Here

Examples of mf.javax.xml.stream.Location

        private XMLStreamReader reader;
       
        public XMLStreamReaderLocation() {}
       
        public int getCharacterOffset() {
            Location loc = getLocation();
            if (loc != null) {
                return loc.getCharacterOffset();
            }
            return -1;
        }
View Full Code Here

Examples of models.Location

                final TimerContext latLongCtx = latLongTransform.time();
                try {
                    DirectPosition eastNorth = new GeneralDirectPosition(eastings, northings);
                    DirectPosition latLng = osgbToWgs84Transform.transform(eastNorth, eastNorth);

                    unit.location = new Location(round(latLng.getOrdinate(1), 8), round(latLng.getOrdinate(0), 8));
                } finally {
                    latLongCtx.stop();
                }
            } catch (NumberFormatException e) {
                throw new RuntimeException("NumberFormatException parsing easting/northings '" + entry.getEastings() + ", " + entry.getNorthings() + "'.");
View Full Code Here

Examples of net.canarymod.api.world.position.Location

                WarpDataAccess data = (WarpDataAccess) dao;
                Group[] groups = makeGroupArray(data.groups);
                String owner = ToolBox.stringToNull(data.owner);
                String name = data.name;
                boolean playerHome = data.isPlayerHome;
                Location loc = Location.fromString(data.location);
                Warp warp;

                if (owner != null) {
                    warp = new Warp(loc, name, owner, playerHome);
                }
View Full Code Here

Examples of net.fortuna.ical4j.model.property.Location

      default: vEventProperties.add(ICAL_CLASS_PRIVATE); break;
    }

    // location
    if (kEvent.getLocation() != null) {
      vEventProperties.add(new Location(kEvent.getLocation()));
    }
   
    // event links
    List kalendarEventLinks = kEvent.getKalendarEventLinks();
    if ((kalendarEventLinks != null) && !kalendarEventLinks.isEmpty()) {
View Full Code Here

Examples of net.gridshield.nexsm.graphmanager.Location

            h_offset = -d.width / 2;
            v_offset = -d.height / 2;
        }
        else
        {
            Location labelLocation = (Location)v.getUserDatum("labelLocation");
            Rectangle2D bounds = vertexShapeFunction.getShape(v).getBounds2D();
            if (labelLocation == null) {
                labelLocation = Location.Bottom; // default location
            }
           
View Full Code Here

Examples of net.mindengine.galen.specs.Location

        assertThat(objectSpecs.getObjectName(), is("menu"));
       
        List<Spec> specs = objectSpecs.getSpecs();
        assertThat(specs.size(), is(2));
       
        assertThat((SpecNear) specs.get(0), is(new SpecNear("button", locations(new Location(Range.exact(10), sides(LEFT))))));
        assertThat((SpecWidth) specs.get(1), is(new SpecWidth(Range.exact(70))));
    }
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.