Class GridDimensionImpl

    • Field Detail

      • _width

        protected int _width
      • _height

        protected int _height
    • Constructor Detail

      • GridDimensionImpl

        protected GridDimensionImpl​()
        Instantiates a new grid dimension impl.
      • GridDimensionImpl

        public GridDimensionImpl​(int aWidth,
                                 int aHeight)
        Instantiates a new grid dimension impl.
        Parameters:
        aWidth - the width
        aHeight - the height
    • Method Detail

      • getGridWidth

        public int getGridWidth​()
        Retrieves the grid width from the grid width property.
        Specified by:
        getGridWidth in interface GridWidthAccessor
        Returns:
        The grid width stored by the grid width property.
      • getGridHeight

        public int getGridHeight​()
        Retrieves the grid height from the grid height property.
        Specified by:
        getGridHeight in interface GridHeightAccessor
        Returns:
        The grid height stored by the grid height property.
      • toString

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