Examples of placeObjectAtEntryPoint()


Examples of games.stendhal.server.core.engine.StendhalRPZone.placeObjectAtEntryPoint()

    StendhalRPZone zone = null;

    String zoneName = System.getProperty("stendhal.forcezone");
    if (zoneName != null) {
      zone = SingletonRepository.getRPWorld().getZone(zoneName);
      zone.placeObjectAtEntryPoint(player);
      return;
    }

    try {
      if (object.has("zoneid") && object.has("x") && object.has("y")) {
View Full Code Here

Examples of games.stendhal.server.core.engine.StendhalRPZone.placeObjectAtEntryPoint()

        logger.error("Unable to locate default zone ["
            + defaultZoneName + "]");
        return;
      }

      zone.placeObjectAtEntryPoint(player);
    }


  }
View Full Code Here

Examples of games.stendhal.server.core.engine.StendhalRPZone.placeObjectAtEntryPoint()

    if (zone == null) {
      logger.error("Unable to find dead area [" + DEFAULT_DEAD_AREA
          + "] for player: " + player.getName());
    } else {
      if (!zone.placeObjectAtEntryPoint(player)) {
        logger.error("Unable to place player in zone " + zone + ": "
            + player.getName());
      }
    }
  }
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.