Class ItemSpawned


  • public final class ItemSpawned
    extends java.lang.Object
    Called when an item pile spawns on the ground. When the client loads a new scene, all item piles are implicitly reset and a new spawn event will be sent.
    • Constructor Detail

      • ItemSpawned

        public ItemSpawned​(Tile tile,
                           TileItem item)
    • Method Detail

      • getTile

        public Tile getTile()
      • equals

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

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

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