Class DecorativeObjectSpawned

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

      • DecorativeObjectSpawned

        public DecorativeObjectSpawned()
    • Method Detail

      • getTile

        public Tile getTile()
        The affected tile.
      • getDecorativeObject

        public DecorativeObject getDecorativeObject()
        The newly spawned decorative object.
      • setTile

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

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

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

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

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

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