Interface CheckerboardObserver<P extends Player<P,S>,S>

    • Method Detail

      • onCheckerboardEvent

        void onCheckerboardEvent​(CheckerboardEvent<P,S> aCheckerboardEvent)
        This method is called when information about an Checkerboard which was previously requested using an asynchronous interface becomes available.
        Parameters:
        aCheckerboardEvent - the checkerboard event
      • onPlayerAddedEvent

        void onPlayerAddedEvent​(PlayerAddedEvent<P,S> aCheckerboardEvent)
        This method is called when information about an Checkerboard which was previously requested using an asynchronous interface becomes available.
        Parameters:
        aCheckerboardEvent - the checkerboard event
      • onPlayerRemovedEvent

        void onPlayerRemovedEvent​(PlayerRemovedEvent<P,S> aCheckerboardEvent)
        This method is called when information about an Checkerboard which was previously requested using an asynchronous interface becomes available.
        Parameters:
        aCheckerboardEvent - the checkerboard event
      • onGridModeChangedEvent

        void onGridModeChangedEvent​(GridModeChangedEvent<P,S> aCheckerboardEvent)
        This method is called when information about an Checkerboard which was previously requested using an asynchronous interface becomes available.
        Parameters:
        aCheckerboardEvent - the checkerboard event
      • onGridDimensionChangedEvent

        void onGridDimensionChangedEvent​(GridDimensionChangedEvent<P,S> aCheckerboardEvent)
        This method is called when information about an Checkerboard which was previously requested using an asynchronous interface becomes available.
        Parameters:
        aCheckerboardEvent - the checkerboard event
      • onViewportOffsetChangedEvent

        void onViewportOffsetChangedEvent​(ViewportOffsetChangedEvent<P,S> aCheckerboardEvent)
        This method is called when information about an Checkerboard which was previously requested using an asynchronous interface becomes available.
        Parameters:
        aCheckerboardEvent - the checkerboard event
      • onViewportDimensionChangedEvent

        void onViewportDimensionChangedEvent​(ViewportDimensionChangedEvent<P,S> aCheckerboardEvent)
        This method is called when information about an Checkerboard which was previously requested using an asynchronous interface becomes available.
        Parameters:
        aCheckerboardEvent - the checkerboard event
      • onPlayerEvent

        void onPlayerEvent​(PlayerEvent<P> aPlayerEvent,
                           Checkerboard<P,S> aSource)
        This method is called when information about an Checkerboard which was previously requested using an asynchronous interface becomes available.
        Parameters:
        aPlayerEvent - the player event
        aSource - The according source (origin).
      • onChangePositionEvent

        void onChangePositionEvent​(ChangePositionEvent<P> aPlayerEvent,
                                   Checkerboard<P,S> aSource)
                            throws org.refcodes.exception.VetoException
        This method is called when information about an Checkerboard which was previously requested using an asynchronous interface becomes available.
        Parameters:
        aPlayerEvent - the player event
        aSource - The according source (origin).
        Throws:
        org.refcodes.exception.VetoException - the veto exception
      • onPositionChangedEvent

        void onPositionChangedEvent​(PositionChangedEvent<P> aPlayerEvent,
                                    Checkerboard<P,S> aSource)
        This method is called when information about an Checkerboard which was previously requested using an asynchronous interface becomes available.
        Parameters:
        aPlayerEvent - the player event
        aSource - The according source (origin).
      • onStateChangedEvent

        void onStateChangedEvent​(StateChangedEvent<P,S> aPlayerEvent,
                                 Checkerboard<P,S> aSource)
        This method is called when information about an Checkerboard which was previously requested using an asynchronous interface becomes available.
        Parameters:
        aPlayerEvent - the player event
        aSource - The according source (origin).
      • onVisibilityChangedEvent

        void onVisibilityChangedEvent​(VisibilityChangedEvent<P> aPlayerEvent,
                                      Checkerboard<P,S> aSource)
        This method is called when information about an Checkerboard which was previously requested using an asynchronous interface becomes available.
        Parameters:
        aPlayerEvent - the player event
        aSource - The according source (origin).
      • onDraggabilityChangedEvent

        void onDraggabilityChangedEvent​(DraggabilityChangedEvent<P> aPlayerEvent,
                                        Checkerboard<P,S> aSource)
        This method is called when information about an Checkerboard which was previously requested using an asynchronous interface becomes available.
        Parameters:
        aPlayerEvent - the player event
        aSource - The according source (origin).