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)
        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