Class WallObjectChanged


  • public class WallObjectChanged
    extends java.lang.Object
    An event where the WallObject of a Tile has been changed.
    • Constructor Detail

      • WallObjectChanged

        public WallObjectChanged()
    • Method Detail

      • getTile

        public Tile getTile()
        The affected tile.
      • getPrevious

        public WallObject getPrevious()
        The wall object that has been replaced.
      • getWallObject

        public WallObject getWallObject()
        The new wall object on the tile.
      • setTile

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

        public void setPrevious​(WallObject previous)
        The wall object that has been replaced.
      • setWallObject

        public void setWallObject​(WallObject wallObject)
        The new wall object on the tile.
      • 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