Class DecorativeObjectDespawned


  • public class DecorativeObjectDespawned
    extends java.lang.Object
    An event where the DecorativeObject attached to a Tile is removed.
    • Constructor Detail

      • DecorativeObjectDespawned

        public DecorativeObjectDespawned()
    • Method Detail

      • getTile

        public Tile getTile()
        The affected tile.
      • getDecorativeObject

        public DecorativeObject getDecorativeObject()
        The removed decorative object.
      • setTile

        public void setTile​(Tile tile)
        The affected tile.
      • setDecorativeObject

        public void setDecorativeObject​(DecorativeObject decorativeObject)
        The removed decorative object.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object