Uses of Interface
org.refcodes.checkerboard.Checkerboard
-
Uses of Checkerboard in org.refcodes.checkerboard
Modifier and TypeClassDescriptionclass
AbstractCheckerboard<T extends Checkerboard<P,
S>, P extends Player<P, S>, S> The Class CheckerboardImpl.Modifier and TypeClassDescriptionclass
AbstractCheckerboard<T extends Checkerboard<P,
S>, P extends Player<P, S>, S> The Class CheckerboardImpl.Modifier and TypeFieldDescriptionprotected Checkerboard<P,
S> AbstractCheckerboardViewer._checkerboard
Modifier and TypeMethodDescriptionCheckerboardAccessor.getCheckerboard()
Retrieves the player from the player property.AbstractCheckerboardEvent.getSource()
default Checkerboard<P,
S> CheckerboardAccessor.CheckerboardProperty.letCheckerboard
(Checkerboard<P, S> aCheckerboard) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenCheckerboard
(setter) as ofCheckerboardAccessor.CheckerboardMutator.setCheckerboard(Checkerboard)
and returns the very same value (getter).Modifier and TypeMethodDescriptiondefault Checkerboard<P,
S> CheckerboardAccessor.CheckerboardProperty.letCheckerboard
(Checkerboard<P, S> aCheckerboard) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenCheckerboard
(setter) as ofCheckerboardAccessor.CheckerboardMutator.setCheckerboard(Checkerboard)
and returns the very same value (getter).void
CheckerboardObserver.onChangePlayerPositionEvent
(ChangePlayerPositionEvent<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.void
ConsoleCheckerboardViewer.onChangePlayerPositionEvent
(ChangePlayerPositionEvent<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.void
CheckerboardObserver.onPlayerDraggabilityChangedEvent
(PlayerDraggabilityChangedEvent<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.void
ConsoleCheckerboardViewer.onPlayerDraggabilityChangedEvent
(PlayerDraggabilityChangedEvent<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.void
CheckerboardObserver.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.void
ConsoleCheckerboardViewer.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.void
CheckerboardObserver.onPlayerPositionChangedEvent
(PlayerPositionChangedEvent<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.void
ConsoleCheckerboardViewer.onPlayerPositionChangedEvent
(PlayerPositionChangedEvent<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.void
CheckerboardObserver.onPlayerStateChangedEvent
(PlayerStateChangedEvent<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.void
ConsoleCheckerboardViewer.onPlayerStateChangedEvent
(PlayerStateChangedEvent<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.void
CheckerboardObserver.onPlayerVisibilityChangedEvent
(PlayerVisibilityChangedEvent<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.void
ConsoleCheckerboardViewer.onPlayerVisibilityChangedEvent
(PlayerVisibilityChangedEvent<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.void
CheckerboardAccessor.CheckerboardMutator.setCheckerboard
(Checkerboard<P, S> aCheckerboard) Sets the player for the player property.CheckerboardAccessor.CheckerboardBuilder.withCheckerboard
(Checkerboard<P, S> aCheckerboard) Sets the player for the player property.Modifier and TypeMethodDescriptionvoid
AbstractCheckerboardViewer.onSubscribe
(org.refcodes.observer.SubscribeEvent<Checkerboard<P, S>> aSubscribeEvent) void
AbstractCheckerboardViewer.onUnsubscribe
(org.refcodes.observer.UnsubscribeEvent<Checkerboard<P, S>> aUnsubscribeEvent) void
AbstractGraphicalCheckerboardViewer.onUnsubscribe
(org.refcodes.observer.UnsubscribeEvent<Checkerboard<P, S>> aUnsubscribeEvent) ModifierConstructorDescriptionAbstractCheckerboardEvent
(CheckerboardAction aAction, Checkerboard<P, S> aSource) Instantiates a new abstract checkerboard event.AbstractCheckerboardViewer
(Checkerboard<P, S> aCheckerboard) Constructs theCheckerboardViewer
for the givenCheckerboard
.AbstractGraphicalCheckerboardViewer
(Checkerboard<P, S> aCheckerboard) Constructs theGraphicalCheckerboardViewer
for the givenCheckerboard
.AbstractPlayerCheckerboardEvent
(CheckerboardAction aAction, P aPlayer, Checkerboard<P, S> aSource) Instantiates a new abstract player checkerboard event.ConsoleCheckerboardViewer
(Checkerboard<P, S> aCheckerboard, ConsoleSpriteFactory<S> aSpriteFactory) Constructs theConsoleCheckerboardViewer
with the providedSpriteFactory
creating "Sprites" (in this caseString
instances) for visualizing the playground's state.ConsoleCheckerboardViewer
(Checkerboard<P, S> aCheckerboard, ConsoleSpriteFactory<S> aSpriteFactory, int aRedrawLoopTimeMillis) Constructs theConsoleCheckerboardViewer
with the providedSpriteFactory
creating "Sprites" (in this caseString
instances) for visualizing the playground's state.ConsoleCheckerboardViewer
(Checkerboard<P, S> aCheckerboard, ConsoleSpriteFactory<S> aSpriteFactory, int aColumnWidth, int aRedrawLoopTimeMillis) Constructs theConsoleCheckerboardViewer
with the providedSpriteFactory
creating "Sprites" (in this caseString
instances) for visualizing the playground's state.GridDimensionChangedEvent
(int aWidth, int aHeight, int aPrecedingWidth, int aPrecedingHeigt, Checkerboard<P, S> aSource) Instantiates a new grid dimension changed event.GridModeChangedEvent
(org.refcodes.graphical.GridMode aGridMode, org.refcodes.graphical.GridMode aPrecedingGridMode, Checkerboard<P, S> aSource) Instantiates a new grid mode changed event.GridPositionClickedEvent
(int aPosX, int aPosY, Checkerboard<P, S> aSource) Instantiates a new position changed event.GridPositionClickedEvent
(org.refcodes.graphical.Position aPosition, Checkerboard<P, S> aSource) Instantiates a new position changed event.PlayerAddedEvent
(P aPlayer, Checkerboard<P, S> aSource) Instantiates a new player added event.PlayerRemovedEvent
(P aPlayer, Checkerboard<P, S> aSource) Instantiates a new player removed event.