Class GridDimensionChangedEventImpl<P extends Player<P,S>,S>

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.refcodes.mixin.ActionAccessor

        org.refcodes.mixin.ActionAccessor.ActionBuilder<A extends java.lang.Object,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends java.lang.Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends java.lang.Object>
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.GridDimension

        org.refcodes.graphical.GridDimension.GridDimensionBuilder<B extends org.refcodes.graphical.GridDimension.GridDimensionBuilder<B>>, org.refcodes.graphical.GridDimension.GridDimensionMutator, org.refcodes.graphical.GridDimension.GridDimensionProperty, org.refcodes.graphical.GridDimension.GridDimensionPropertyBuilder
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.GridHeightAccessor

        org.refcodes.graphical.GridHeightAccessor.GridHeightBuilder<B extends org.refcodes.graphical.GridHeightAccessor.GridHeightBuilder<B>>, org.refcodes.graphical.GridHeightAccessor.GridHeightMutator, org.refcodes.graphical.GridHeightAccessor.GridHeightProperty
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.GridWidthAccessor

        org.refcodes.graphical.GridWidthAccessor.GridWidthBuilder<B extends org.refcodes.graphical.GridWidthAccessor.GridWidthBuilder<B>>, org.refcodes.graphical.GridWidthAccessor.GridWidthMutator, org.refcodes.graphical.GridWidthAccessor.GridWidthProperty
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.SourceAccessor

        org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends java.lang.Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      GridDimensionChangedEventImpl​(int aWidth, int aHeight, int aPrecedingWidth, int aPrecedingHeigt, Checkerboard<P,S> aSource)
      Instantiates a new grid dimension changed event.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getGridHeight()
      int getGridWidth()
      org.refcodes.graphical.GridDimension getPrecedingGridDimension()
      Gets the preceding grid dimension.
      java.lang.String toString()
      • Methods inherited from interface org.refcodes.mixin.ActionAccessor

        getAction
      • Methods inherited from interface org.refcodes.graphical.GridDimension

        isInBounds, isInBounds, isInHeight, isInWidth
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.refcodes.mixin.SourceAccessor

        getSource
    • Constructor Detail

      • GridDimensionChangedEventImpl

        public GridDimensionChangedEventImpl​(int aWidth,
                                             int aHeight,
                                             int aPrecedingWidth,
                                             int aPrecedingHeigt,
                                             Checkerboard<P,S> aSource)
        Instantiates a new grid dimension changed event.
        Parameters:
        aWidth - the width
        aHeight - the height
        aPrecedingWidth - the preceding width
        aPrecedingHeigt - the preceding heigt
        aSource - The according source (origin).
    • Method Detail

      • getGridHeight

        public int getGridHeight()
        Specified by:
        getGridHeight in interface org.refcodes.graphical.GridHeightAccessor
      • getGridWidth

        public int getGridWidth()
        Specified by:
        getGridWidth in interface org.refcodes.graphical.GridWidthAccessor