Examples of teleportBack()


Examples of games.stendhal.server.entity.item.scroll.BalloonScroll.teleportBack()

   */
  public void configureZone(StendhalRPZone zone, Map<String, String> attributes) {
    SingletonRepository.getLoginNotifier().addListener(new LoginListener() {
      public void onLoggedIn(final Player player) {
        BalloonScroll scroll = (BalloonScroll) SingletonRepository.getEntityManager().getItem(BALLOON);
        scroll.teleportBack(player);
      }

    });
  }

View Full Code Here

Examples of games.stendhal.server.entity.item.scroll.RainbowBeansScroll.teleportBack()

     * there is a note in TimedTeleportScroll that it should be done there or its subclass.
     */
    SingletonRepository.getLoginNotifier().addListener(new LoginListener() {
      public void onLoggedIn(final Player player) {
        RainbowBeansScroll scroll = (RainbowBeansScroll) SingletonRepository.getEntityManager().getItem("rainbow beans");
        scroll.teleportBack(player);
      }

    });
    super.addToWorld();
    fillQuestInfo(
View Full Code Here

Examples of games.stendhal.server.entity.item.scroll.TwilightMossScroll.teleportBack()

   
    // login notifier to teleport away players logging into the twilight zone.
    SingletonRepository.getLoginNotifier().addListener(new LoginListener() {
      public void onLoggedIn(final Player player) {
        TwilightMossScroll scroll = (TwilightMossScroll) SingletonRepository.getEntityManager().getItem("twilight moss");
        scroll.teleportBack(player);
      }

    });
   
    MithrilCloakQuestChain mithrilcloak = new MithrilCloakQuestChain();
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.