Package games.stendhal.server.events

Examples of games.stendhal.server.events.ExamineEvent


    this.title = title;
    this.caption = caption;
  }

  public boolean onUsed(RPEntity user) {
    user.addEvent(new ExamineEvent("examine/" + image, title, caption));
    return true;
  }
View Full Code Here


  }
 
  private void showImage(Player player, Item item) {
    String caption = item.getName();
    String image = "items/" + item.getItemClass() + "/" + item.getItemSubclass() + ".png";
    ExamineEvent event = new ExamineEvent(image, caption, "");
    player.addEvent(event);
  }
View Full Code Here

    this.title = title;
    this.caption = caption;
  }

  public void fire(final Player player, final Sentence sentence, final EventRaiser npc) {
    player.addEvent(new ExamineEvent("examine/" + image, title, caption));
  }
View Full Code Here

TOP

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

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.