Package games.stendhal.client.entity

Examples of games.stendhal.client.entity.Portal


   * @param list
   *            The list to populate.
   */
  @Override
  protected void buildActions(final List<String> list) {
    Portal portal = (Portal) entity;
    if ((portal != null) && !portal.isHidden()) {
      list.add(ActionType.USE.getRepresentation());

      super.buildActions(list);
      list.remove(ActionType.LOOK.getRepresentation());
    }
View Full Code Here


     
      object = new PlayerMapObject(entity);
    } else if (entity instanceof Player) {
      object = new PlayerMapObject(entity);
    } else if (entity instanceof Portal) {
      final Portal portal = (Portal) entity;

      if (!portal.isHidden()) {
        mapObjects.put(entity, new PortalMapObject(entity));
      }
    } else if (entity instanceof HousePortal) {
      object = new PortalMapObject(entity);
    } else if (entity instanceof WalkBlocker) {
View Full Code Here

TOP

Related Classes of games.stendhal.client.entity.Portal

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.