Class PopupImage

All Implemented Interfaces:
UseListener, Killer, Cloneable, Iterable<String>, Serializable

public class PopupImage extends Sign implements UseListener
A sign (or transparent area) which is placed on the ground and can be looked at closely.
  • Constructor Details

    • PopupImage

      public PopupImage(String image, String title, String caption)
      Creates a new PopupImage
      Parameters:
      image - the image to display
      title - the title
      caption - text to display along the image
  • Method Details

    • onUsed

      public boolean onUsed(RPEntity user)
      Description copied from interface: UseListener
      Invoked when the object is used.
      Specified by:
      onUsed in interface UseListener
      Parameters:
      user - the RPEntity who uses the object
      Returns:
      true if successful