Class AbstractGraphicalCheckerboardViewer<P extends Player<P,S>,S,IMG,SF extends SpriteFactory<IMG,S,?>,BF extends BackgroundFactory<IMG,CBV>,CBV extends GraphicalCheckerboardViewer<P,S,IMG,SF,BF,CBV>>

  • Type Parameters:
    P - The generic type representing a Player
    S - The type which's instances represent a Player state.
    IMG - the generic type
    SF - the generic type
    BF - the generic type
    CBV - The CheckerboardViewer's type implementing this interface.
    All Implemented Interfaces:
    BackgroundFactoryAccessor<P>, BackgroundFactoryAccessor.BackgroundFactoryBuilder<P,S>, BackgroundFactoryAccessor.BackgroundFactoryMutator<P>, BackgroundFactoryAccessor.BackgroundFactoryProperty<P>, CheckerboardObserver<P,S>, CheckerboardViewer<P,S,IMG>, GraphicalCheckerboardViewer<P,S,IMG,SF,BF,CBV>, SpriteFactoryAccessor<P>, SpriteFactoryAccessor.SpriteFactoryBuilder<P,S>, SpriteFactoryAccessor.SpriteFactoryMutator<P>, SpriteFactoryAccessor.SpriteFactoryProperty<P>, org.refcodes.component.Component, org.refcodes.component.Destroyable, org.refcodes.component.Initializable, org.refcodes.component.Initializable.InitializeBuilder<P>, org.refcodes.component.InitializableComponent, org.refcodes.graphical.ContainerDimension, org.refcodes.graphical.ContainerHeightAccessor, org.refcodes.graphical.ContainerMetrics, org.refcodes.graphical.ContainerWidthAccessor, org.refcodes.graphical.DragOpacityAccessor, org.refcodes.graphical.DragOpacityAccessor.DragOpacityBuilder<P>, org.refcodes.graphical.DragOpacityAccessor.DragOpacityMutator, org.refcodes.graphical.DragOpacityAccessor.DragOpacityProperty, org.refcodes.graphical.FieldDimension, org.refcodes.graphical.FieldDimension.FieldDimensionBuilder<P>, org.refcodes.graphical.FieldDimension.FieldDimensionMutator, org.refcodes.graphical.FieldDimension.FieldDimensionProperty, org.refcodes.graphical.FieldGapAccessor, org.refcodes.graphical.FieldGapAccessor.FieldGapBuilder<P>, org.refcodes.graphical.FieldGapAccessor.FieldGapMutator, org.refcodes.graphical.FieldGapAccessor.FieldGapProperty, org.refcodes.graphical.FieldHeightAccessor, org.refcodes.graphical.FieldHeightAccessor.FieldHeightBuilder<P>, org.refcodes.graphical.FieldHeightAccessor.FieldHeightMutator, org.refcodes.graphical.FieldHeightAccessor.FieldHeightProperty, org.refcodes.graphical.FieldWidthAccessor, org.refcodes.graphical.FieldWidthAccessor.FieldWidthBuilder<P>, org.refcodes.graphical.FieldWidthAccessor.FieldWidthMutator, org.refcodes.graphical.FieldWidthAccessor.FieldWidthProperty, org.refcodes.graphical.GridDimension, org.refcodes.graphical.GridHeightAccessor, org.refcodes.graphical.GridModeAccessor, org.refcodes.graphical.GridWidthAccessor, org.refcodes.graphical.MinViewportDimension, org.refcodes.graphical.MinViewportDimension.MinViewportDimensionBuilder<P>, org.refcodes.graphical.MinViewportDimension.MinViewportDimensionMutator, org.refcodes.graphical.MinViewportDimension.MinViewportDimensionProperty, org.refcodes.graphical.MoveModeAccessor, org.refcodes.graphical.MoveModeAccessor.MoveModeBuilder<P>, org.refcodes.graphical.MoveModeAccessor.MoveModeMutator, org.refcodes.graphical.MoveModeAccessor.MoveModeProperty, org.refcodes.graphical.Raster, org.refcodes.graphical.ScaleModeAccessor, org.refcodes.graphical.ScaleModeAccessor.ScaleModeBuilder<P>, org.refcodes.graphical.ScaleModeAccessor.ScaleModeMutator, org.refcodes.graphical.ScaleModeAccessor.ScaleModeProperty, org.refcodes.graphical.ViewportDimension, org.refcodes.graphical.ViewportDimension.ViewportDimensionBuilder<P>, org.refcodes.graphical.ViewportDimension.ViewportDimensionMutator, org.refcodes.graphical.ViewportDimension.ViewportDimensionProperty, org.refcodes.graphical.ViewportHeightAccessor, org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightBuilder<P>, org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightMutator, org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightProperty, org.refcodes.graphical.ViewportOffset, org.refcodes.graphical.ViewportOffset.ViewportOffsetBuilder<P>, org.refcodes.graphical.ViewportOffset.ViewportOffsetMutator, org.refcodes.graphical.ViewportOffset.ViewportOffsetProperty, org.refcodes.graphical.ViewportOffsetXAccessor, org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXBuilder<P>, org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXMutator, org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXProperty, org.refcodes.graphical.ViewportOffsetYAccessor, org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYBuilder<P>, org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYMutator, org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYProperty, org.refcodes.graphical.ViewportWidthAccessor, org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthBuilder<P>, org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthMutator, org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthProperty, org.refcodes.graphical.VisibleAccessor, org.refcodes.graphical.VisibleAccessor.VisibleBuilder<P>, org.refcodes.graphical.VisibleAccessor.VisibleMutator, org.refcodes.graphical.VisibleAccessor.VisibleProperty, org.refcodes.observer.ObservableObserver<P>


    public abstract class AbstractGraphicalCheckerboardViewer<P extends Player<P,S>,S,IMG,SF extends SpriteFactory<IMG,S,?>,BF extends BackgroundFactory<IMG,CBV>,CBV extends GraphicalCheckerboardViewer<P,S,IMG,SF,BF,CBV>>
    extends AbstractCheckerboardViewer<P,S,IMG,SF,CBV>
    implements GraphicalCheckerboardViewer<P,S,IMG,SF,BF,CBV>
    The Class AbstractGraphicalCheckerboardViewer.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.refcodes.graphical.ContainerDimension

        org.refcodes.graphical.ContainerDimension.ContainerDimensionBuilder<B extends org.refcodes.graphical.ContainerDimension.ContainerDimensionBuilder<B>>, org.refcodes.graphical.ContainerDimension.ContainerDimensionMutator, org.refcodes.graphical.ContainerDimension.ContainerDimensionProperty, org.refcodes.graphical.ContainerDimension.ContainerDimensionPropertyBuilder
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.ContainerHeightAccessor

        org.refcodes.graphical.ContainerHeightAccessor.ContainerHeightBuilder<B extends org.refcodes.graphical.ContainerHeightAccessor.ContainerHeightBuilder<B>>, org.refcodes.graphical.ContainerHeightAccessor.ContainerHeightMutator, org.refcodes.graphical.ContainerHeightAccessor.ContainerHeightProperty
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.ContainerWidthAccessor

        org.refcodes.graphical.ContainerWidthAccessor.ContainerWidthBuilder<B extends org.refcodes.graphical.ContainerWidthAccessor.ContainerWidthBuilder<B>>, org.refcodes.graphical.ContainerWidthAccessor.ContainerWidthMutator, org.refcodes.graphical.ContainerWidthAccessor.ContainerWidthProperty
      • Nested classes/interfaces inherited from interface org.refcodes.component.Destroyable

        org.refcodes.component.Destroyable.DestroyAutomaton
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.DragOpacityAccessor

        org.refcodes.graphical.DragOpacityAccessor.DragOpacityBuilder<B extends org.refcodes.graphical.DragOpacityAccessor.DragOpacityBuilder<B>>, org.refcodes.graphical.DragOpacityAccessor.DragOpacityMutator, org.refcodes.graphical.DragOpacityAccessor.DragOpacityProperty
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.FieldDimension

        org.refcodes.graphical.FieldDimension.FieldDimensionBuilder<B extends org.refcodes.graphical.FieldDimension.FieldDimensionBuilder<B>>, org.refcodes.graphical.FieldDimension.FieldDimensionMutator, org.refcodes.graphical.FieldDimension.FieldDimensionProperty, org.refcodes.graphical.FieldDimension.FieldDimensionPropertyBuilder
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.FieldGapAccessor

        org.refcodes.graphical.FieldGapAccessor.FieldGapBuilder<B extends org.refcodes.graphical.FieldGapAccessor.FieldGapBuilder<B>>, org.refcodes.graphical.FieldGapAccessor.FieldGapMutator, org.refcodes.graphical.FieldGapAccessor.FieldGapProperty
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.FieldHeightAccessor

        org.refcodes.graphical.FieldHeightAccessor.FieldHeightBuilder<B extends org.refcodes.graphical.FieldHeightAccessor.FieldHeightBuilder<B>>, org.refcodes.graphical.FieldHeightAccessor.FieldHeightMutator, org.refcodes.graphical.FieldHeightAccessor.FieldHeightProperty
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.FieldWidthAccessor

        org.refcodes.graphical.FieldWidthAccessor.FieldWidthBuilder<B extends org.refcodes.graphical.FieldWidthAccessor.FieldWidthBuilder<B>>, org.refcodes.graphical.FieldWidthAccessor.FieldWidthMutator, org.refcodes.graphical.FieldWidthAccessor.FieldWidthProperty
      • 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.GridModeAccessor

        org.refcodes.graphical.GridModeAccessor.GridModeBuilder<B extends org.refcodes.graphical.GridModeAccessor.GridModeBuilder<B>>, org.refcodes.graphical.GridModeAccessor.GridModeMutator, org.refcodes.graphical.GridModeAccessor.GridModeProperty
      • 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.component.Initializable

        org.refcodes.component.Initializable.InitializeAutomaton, org.refcodes.component.Initializable.InitializeBuilder<B extends org.refcodes.component.Initializable.InitializeBuilder<B>>, org.refcodes.component.Initializable.UncheckedInitializable
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.MinViewportDimension

        org.refcodes.graphical.MinViewportDimension.MinViewportDimensionBuilder<B extends org.refcodes.graphical.MinViewportDimension.MinViewportDimensionBuilder<B>>, org.refcodes.graphical.MinViewportDimension.MinViewportDimensionMutator, org.refcodes.graphical.MinViewportDimension.MinViewportDimensionProperty, org.refcodes.graphical.MinViewportDimension.MinViewportDimensionPropertyBuilderBuilder
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.MoveModeAccessor

        org.refcodes.graphical.MoveModeAccessor.MoveModeBuilder<B extends org.refcodes.graphical.MoveModeAccessor.MoveModeBuilder<B>>, org.refcodes.graphical.MoveModeAccessor.MoveModeMutator, org.refcodes.graphical.MoveModeAccessor.MoveModeProperty
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.Raster

        org.refcodes.graphical.Raster.RasterBuilder<B extends org.refcodes.graphical.Raster.RasterBuilder<B>>, org.refcodes.graphical.Raster.RasterMutator, org.refcodes.graphical.Raster.RasterProperty, org.refcodes.graphical.Raster.RasterPropertyBuilder
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.ScaleModeAccessor

        org.refcodes.graphical.ScaleModeAccessor.ScaleModeBuilder<B extends org.refcodes.graphical.ScaleModeAccessor.ScaleModeBuilder<B>>, org.refcodes.graphical.ScaleModeAccessor.ScaleModeMutator, org.refcodes.graphical.ScaleModeAccessor.ScaleModeProperty
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.ViewportDimension

        org.refcodes.graphical.ViewportDimension.ViewportDimensionBuilder<B extends org.refcodes.graphical.ViewportDimension.ViewportDimensionBuilder<B>>, org.refcodes.graphical.ViewportDimension.ViewportDimensionMutator, org.refcodes.graphical.ViewportDimension.ViewportDimensionProperty, org.refcodes.graphical.ViewportDimension.ViewportDimensionPropertyBuilderBuilder
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.ViewportHeightAccessor

        org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightBuilder<B extends org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightBuilder<B>>, org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightMutator, org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightProperty
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.ViewportOffset

        org.refcodes.graphical.ViewportOffset.ViewportOffsetBuilder<B extends org.refcodes.graphical.ViewportOffset.ViewportOffsetBuilder<B>>, org.refcodes.graphical.ViewportOffset.ViewportOffsetMutator, org.refcodes.graphical.ViewportOffset.ViewportOffsetProperty, org.refcodes.graphical.ViewportOffset.ViewportOffsetPropertyBuilder
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.ViewportOffsetXAccessor

        org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXBuilder<B extends org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXBuilder<B>>, org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXMutator, org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXProperty
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.ViewportOffsetYAccessor

        org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYBuilder<B extends org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYBuilder<B>>, org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYMutator, org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYProperty
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.ViewportWidthAccessor

        org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthBuilder<B extends org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthBuilder<B>>, org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthMutator, org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthProperty
      • Nested classes/interfaces inherited from interface org.refcodes.graphical.VisibleAccessor

        org.refcodes.graphical.VisibleAccessor.VisibleBuilder<B extends org.refcodes.graphical.VisibleAccessor.VisibleBuilder<B>>, org.refcodes.graphical.VisibleAccessor.VisibleMutator, org.refcodes.graphical.VisibleAccessor.VisibleProperty
    • Method Detail

      • getFieldGap

        public int getFieldGap​()
        Specified by:
        getFieldGap in interface org.refcodes.graphical.FieldGapAccessor
      • setFieldGap

        public void setFieldGap​(int aFieldGap)
        Specified by:
        setFieldGap in interface org.refcodes.graphical.FieldGapAccessor.FieldGapMutator
      • withFieldGap

        public CBV withFieldGap​(int aFieldGap)
        With field gap.
        Specified by:
        withFieldGap in interface org.refcodes.graphical.FieldGapAccessor.FieldGapBuilder<P extends Player<P,S>>
        Parameters:
        aFieldGap - the field gap
        Returns:
        the cbv
      • show

        public void show​()
        Specified by:
        show in interface org.refcodes.graphical.VisibleAccessor.VisibleMutator
      • hide

        public void hide​()
        Specified by:
        hide in interface org.refcodes.graphical.VisibleAccessor.VisibleMutator
      • getMoveMode

        public org.refcodes.graphical.MoveMode getMoveMode​()
        Specified by:
        getMoveMode in interface org.refcodes.graphical.MoveModeAccessor
      • setMoveMode

        public void setMoveMode​(org.refcodes.graphical.MoveMode aMode)
        Specified by:
        setMoveMode in interface org.refcodes.graphical.MoveModeAccessor.MoveModeMutator
      • getScaleMode

        public org.refcodes.graphical.ScaleMode getScaleMode​()
        Specified by:
        getScaleMode in interface org.refcodes.graphical.ScaleModeAccessor
      • setScaleMode

        public void setScaleMode​(org.refcodes.graphical.ScaleMode aMode)
        Specified by:
        setScaleMode in interface org.refcodes.graphical.ScaleModeAccessor.ScaleModeMutator
      • getFieldHeight

        public int getFieldHeight​()
        Specified by:
        getFieldHeight in interface org.refcodes.graphical.FieldHeightAccessor
      • setFieldDimension

        public void setFieldDimension​(int aFieldWidth,
                                      int aFieldHeight)
        Specified by:
        setFieldDimension in interface org.refcodes.graphical.FieldDimension.FieldDimensionMutator
      • setFieldDimension

        public void setFieldDimension​(org.refcodes.graphical.FieldDimension aField)
        Specified by:
        setFieldDimension in interface org.refcodes.graphical.FieldDimension.FieldDimensionMutator
      • setFieldDimension

        public void setFieldDimension​(org.refcodes.graphical.Dimension aDimension)
        Specified by:
        setFieldDimension in interface org.refcodes.graphical.FieldDimension.FieldDimensionMutator
      • setFieldWidth

        public void setFieldWidth​(int aWidth)
        Specified by:
        setFieldWidth in interface org.refcodes.graphical.FieldWidthAccessor.FieldWidthMutator
      • getFieldWidth

        public int getFieldWidth​()
        Specified by:
        getFieldWidth in interface org.refcodes.graphical.FieldWidthAccessor
      • setFieldHeight

        public void setFieldHeight​(int aHeight)
        Specified by:
        setFieldHeight in interface org.refcodes.graphical.FieldHeightAccessor.FieldHeightMutator
      • getContainerHeight

        public int getContainerHeight​()
        Specified by:
        getContainerHeight in interface org.refcodes.graphical.ContainerHeightAccessor
      • getContainerWidth

        public int getContainerWidth​()
        Specified by:
        getContainerWidth in interface org.refcodes.graphical.ContainerWidthAccessor
      • withFieldWidth

        public CBV withFieldWidth​(int aWidth)
        With field width.
        Specified by:
        withFieldWidth in interface org.refcodes.graphical.FieldWidthAccessor.FieldWidthBuilder<P extends Player<P,S>>
        Parameters:
        aWidth - the width
        Returns:
        the cbv
      • withFieldHeight

        public CBV withFieldHeight​(int aHeight)
        With field height.
        Specified by:
        withFieldHeight in interface org.refcodes.graphical.FieldHeightAccessor.FieldHeightBuilder<P extends Player<P,S>>
        Parameters:
        aHeight - the height
        Returns:
        the cbv
      • withFieldDimension

        public CBV withFieldDimension​(org.refcodes.graphical.FieldDimension aField)
        With field dimension.
        Specified by:
        withFieldDimension in interface org.refcodes.graphical.FieldDimension.FieldDimensionBuilder<P extends Player<P,S>>
        Parameters:
        aField - the field
        Returns:
        the cbv
      • withFieldDimension

        public CBV withFieldDimension​(org.refcodes.graphical.Dimension aDimension)
        With field dimension.
        Specified by:
        withFieldDimension in interface org.refcodes.graphical.FieldDimension.FieldDimensionBuilder<P extends Player<P,S>>
        Parameters:
        aDimension - the dimension
        Returns:
        the cbv
      • withShow

        public CBV withShow​()
        With show.
        Specified by:
        withShow in interface org.refcodes.graphical.VisibleAccessor.VisibleBuilder<P extends Player<P,S>>
        Returns:
        the cbv
      • withHide

        public CBV withHide​()
        With hide.
        Specified by:
        withHide in interface org.refcodes.graphical.VisibleAccessor.VisibleBuilder<P extends Player<P,S>>
        Returns:
        the cbv
      • withVisible

        public CBV withVisible​(boolean isVisible)
        With visible.
        Specified by:
        withVisible in interface org.refcodes.graphical.VisibleAccessor.VisibleBuilder<P extends Player<P,S>>
        Parameters:
        isVisible - the is visible
        Returns:
        the cbv
      • withMoveMode

        public CBV withMoveMode​(org.refcodes.graphical.MoveMode aMode)
        With move mode.
        Specified by:
        withMoveMode in interface org.refcodes.graphical.MoveModeAccessor.MoveModeBuilder<P extends Player<P,S>>
        Parameters:
        aMode - the mode
        Returns:
        the cbv
      • withScaleMode

        public CBV withScaleMode​(org.refcodes.graphical.ScaleMode aMode)
        With scale mode.
        Specified by:
        withScaleMode in interface org.refcodes.graphical.ScaleModeAccessor.ScaleModeBuilder<P extends Player<P,S>>
        Parameters:
        aMode - the mode
        Returns:
        the cbv
      • toTotalWidth

        public int toTotalWidth​()
        Specified by:
        toTotalWidth in interface org.refcodes.graphical.ContainerMetrics
      • setFieldDimension

        public void setFieldDimension​(int aFieldWidth,
                                      int aFieldHeight,
                                      int aGap)
        Specified by:
        setFieldDimension in interface org.refcodes.graphical.FieldDimension.FieldDimensionMutator
      • withFieldDimension

        public CBV withFieldDimension​(int aFieldWidth,
                                      int aFieldHeight,
                                      int aGap)
        With field dimension.
        Specified by:
        withFieldDimension in interface org.refcodes.graphical.FieldDimension.FieldDimensionBuilder<P extends Player<P,S>>
        Parameters:
        aFieldWidth - the field width
        aFieldHeight - the field height
        aGap - the gap
        Returns:
        the cbv
      • toTotalHeight

        public int toTotalHeight​()
        Specified by:
        toTotalHeight in interface org.refcodes.graphical.ContainerMetrics
      • withFieldDimension

        public CBV withFieldDimension​(int aFieldWidth,
                                      int aFieldHeight)
        With field dimension.
        Specified by:
        withFieldDimension in interface org.refcodes.graphical.FieldDimension.FieldDimensionBuilder<P extends Player<P,S>>
        Parameters:
        aFieldWidth - the field width
        aFieldHeight - the field height
        Returns:
        the cbv
      • getSpriteFactory

        public SF getSpriteFactory​()
        Retrieves the sprite factory from the sprite factory property.
        Specified by:
        getSpriteFactory in interface SpriteFactoryAccessor<P extends Player<P,S>>
        Returns:
        The sprite factory stored by the sprite factory property.
      • getBackgroundFactory

        public BF getBackgroundFactory​()
        Retrieves the background factory from the background factory property.
        Specified by:
        getBackgroundFactory in interface BackgroundFactoryAccessor<P extends Player<P,S>>
        Returns:
        The background factory stored by the background factory property.