Class ViewportOffsetChangedEventImpl<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.mixin.SourceAccessor

        org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends java.lang.Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends java.lang.Object>
      • 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
    • Constructor Summary

      Constructors 
      Constructor Description
      ViewportOffsetChangedEventImpl​(int aOffsetY, int aOffsetX, int aPrecedingOffsetX, int aPrecedingOffsetY, CheckerboardViewer<P,S,?> aSource)
      Instantiates a new viewport offset changed event.
    • Constructor Detail

      • ViewportOffsetChangedEventImpl

        public ViewportOffsetChangedEventImpl​(int aOffsetY,
                                              int aOffsetX,
                                              int aPrecedingOffsetX,
                                              int aPrecedingOffsetY,
                                              CheckerboardViewer<P,S,?> aSource)
        Instantiates a new viewport offset changed event.
        Parameters:
        aOffsetY - the offset Y
        aOffsetX - the offset X
        aPrecedingOffsetX - the preceding offset X
        aPrecedingOffsetY - the preceding offset Y
        aSource - The according source (origin).
    • Method Detail

      • getViewportOffsetX

        public int getViewportOffsetX()
        Specified by:
        getViewportOffsetX in interface org.refcodes.graphical.ViewportOffsetXAccessor
      • getViewportOffsetY

        public int getViewportOffsetY()
        Specified by:
        getViewportOffsetY in interface org.refcodes.graphical.ViewportOffsetYAccessor