Package games.stendhal.server.core.rp

Examples of games.stendhal.server.core.rp.StendhalQuestSystem


   * @param player Player to sent the event to
   * @param progressType the type of progress the player is interested in
   * @param item name of item to get details about
   */
  private void sendDetails(Player player, String progressType, String item) {
    StendhalQuestSystem questSystem = SingletonRepository.getStendhalQuestSystem();
    if (progressType.equals("Open Quests") || progressType.equals("Completed Quests")) {
      player.addEvent(new ProgressStatusEvent(progressType, item,
        questSystem.getQuestDescription(player, item),
        questSystem.getQuestProgressDetails(player, item)));
    } else if (progressType.equals("Production")) {
      player.addEvent(new ProgressStatusEvent(progressType, item,
          SingletonRepository.getProducerRegister().getProductionDescription(player, item),
          SingletonRepository.getProducerRegister().getProductionDetails(player, item)));
    }
View Full Code Here

TOP

Related Classes of games.stendhal.server.core.rp.StendhalQuestSystem

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.