Package games.stendhal.server.entity

Examples of games.stendhal.server.entity.Entity.describe()


      String name = entity.get(TYPE);
      if (entity.has(NAME)) {
        name = entity.get(NAME);
      }
      new GameEvent(player.getName(), LOOK, name).raise();
      final String text = entity.describe();

      if (entity.has(Actions.ACTION) && entity.get(Actions.ACTION).equals(Actions.READ)) {
        player.sendPrivateText(NotificationType.RESPONSE, text);
      } else {
        player.sendPrivateText(text);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.