Package games.stendhal.server.entity.player

Examples of games.stendhal.server.entity.player.ReadPostmanMessages


      if (action.has(MESSAGE)) {
        player.setAwayMessage(action.get(MESSAGE));
      } else {
        player.setAwayMessage(null);
        // get the postman messages you might have received when you were away
        new ReadPostmanMessages().readMessages(player);
      }

      player.notifyWorldAboutChanges();
    }
  }
View Full Code Here


   *
   * @param  zone    The zone to be configured.
   * @param  attributes  Configuration attributes.
   */
  public void configureZone(StendhalRPZone zone, Map<String, String> attributes) {
    SingletonRepository.getLoginNotifier().addListener(new ReadPostmanMessages());
  }
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.player.ReadPostmanMessages

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.