Package games.stendhal.server.core.events

Examples of games.stendhal.server.core.events.DelayedPlayerTextSender


  }
 
  public void onExited(final ActiveEntity entity, final StendhalRPZone zone, final int newX, final int newY) {
    if ((leaveMessage != null) && (entity instanceof Player)) {
      // needs to be delayed since normal messages get lost in case the player leaves zone
      new DelayedPlayerTextSender((Player) entity, leaveMessage, NotificationType.SCENE_SETTING, 1);
    }
  }
View Full Code Here


    if (timeRemaining > 0) {
      // player used the balloon within the last DELAY hours
      // so this use of balloon is going to be shortened
      // (the clouds can't take so much weight on them)
      // delay message for 1 turn for technical reasons
      new DelayedPlayerTextSender(player, "The clouds are weakened from your recent time on them, and will not hold you for long.", 1);
     
      return super.useTeleportScroll(player, "7_kikareukin_clouds", 31, 21, NEWTIME);
    }
   
    return super.useTeleportScroll(player);
View Full Code Here

TOP

Related Classes of games.stendhal.server.core.events.DelayedPlayerTextSender

Copyright © 2018 www.massapicom. 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.