Class ImageEventProperty

java.lang.Object
games.stendhal.client.entity.ImageEventProperty

public class ImageEventProperty extends Object
A property for image events. Entities have no place to store the image name (and can not have either, as many events at a time are possible), so we need a way to carry the data to the entity view.
  • Constructor Details

    • ImageEventProperty

      public ImageEventProperty(String image)
      Create a new ImageEventProperty.
      Parameters:
      image - image name
  • Method Details

    • getImageName

      public String getImageName()
      Get the image name the event handler should use.
      Returns:
      image name