Package games.stendhal.server.events

Examples of games.stendhal.server.events.ReachedAchievementEvent


   * @param player
   * @param achievement
   */
  private void notifyPlayerAboutReachedAchievement(Player player, Achievement achievement) {
    if (achievement.isActive()) {
      player.addEvent(new ReachedAchievementEvent(achievement));
      player.addEvent(new SoundEvent("yay-1", SoundLayer.USER_INTERFACE));
    }
  }
View Full Code Here

TOP

Related Classes of games.stendhal.server.events.ReachedAchievementEvent

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.