Class GameObjectDespawned

  • public class GameObjectDespawned
    extends java.lang.Object
    An event where a GameObject on a Tile is removed.
    • Constructor Detail

      • GameObjectDespawned

        public GameObjectDespawned()
    • Method Detail

      • getTile

        public Tile getTile()
        The affected tile.
      • getGameObject

        public GameObject getGameObject()
        The removed game object.
      • setTile

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

        public void setGameObject​(GameObject gameObject)
        The removed game 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