Class DecorativeObjectChanged


  • public class DecorativeObjectChanged
    extends java.lang.Object
    An event where the DecorativeObject attached to a Tile has been modified.
    • Constructor Detail

      • DecorativeObjectChanged

        public DecorativeObjectChanged()
    • Method Detail

      • getTile

        public Tile getTile()
        The affected tile.
      • getPrevious

        public DecorativeObject getPrevious()
        The decorative object that has been replaced.
      • getDecorativeObject

        public DecorativeObject getDecorativeObject()
        The new decoration for the tile.
      • setTile

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

        public void setPrevious​(DecorativeObject previous)
        The decorative object that has been replaced.
      • setDecorativeObject

        public void setDecorativeObject​(DecorativeObject decorativeObject)
        The new decoration for the tile.
      • 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