Class GameObjectSpawned


  • public class GameObjectSpawned
    extends java.lang.Object
    An event where a GameObject is added to a Tile.
    • Constructor Detail

      • GameObjectSpawned

        public GameObjectSpawned()
    • Method Detail

      • getTile

        public Tile getTile()
        The affected tile.
      • getGameObject

        public GameObject getGameObject()
        The newly spawned game object.
      • setTile

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

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