Class WallObjectSpawned


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

      • WallObjectSpawned

        public WallObjectSpawned()
    • Method Detail

      • getTile

        public Tile getTile()
        The affected tile.
      • getWallObject

        public WallObject getWallObject()
        The newly spawned wall object.
      • setTile

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

        public void setWallObject​(WallObject wallObject)
        The newly spawned wall 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