Package | Description |
---|---|
org.refcodes.checkerboard |
The refcodes-checkerboard artifact provides types and definitions to
represent a virtual checkerboard to be used by the alike games two
dimensional cellular automatons.
|
org.refcodes.checkerboard.impls |
This package contains implementations of the types defined by this artifact.
|
Modifier and Type | Method and Description |
---|---|
Checkerboard<P,S> |
CheckerboardAccessor.getCheckerboard()
Retrieves the player from the player property.
|
Modifier and Type | Method and Description |
---|---|
void |
CheckerboardObserver.onChangePositionEvent(ChangePositionEvent<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.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.
|
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 |
CheckerboardObserver.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.
|
void |
CheckerboardObserver.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.
|
void |
CheckerboardObserver.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.
|
void |
CheckerboardAccessor.CheckerboardMutator.setCheckerboard(Checkerboard<P,S> aCheckerboard)
Sets the player for the player property.
|
B |
CheckerboardAccessor.CheckerboardBuilder.withCheckerboard(Checkerboard<P,S> aCheckerboard)
Sets the player for the player property.
|
Modifier and Type | Class and Description |
---|---|
class |
CheckerboardImpl<P extends Player<P,S>,S>
The Class CheckerboardImpl.
|
Modifier and Type | Method and Description |
---|---|
protected Checkerboard<P,S> |
AbstractGraphicalCheckerboardViewer.getCheckerboard()
Gets the checkerboard.
|
protected Checkerboard<P,S> |
AbstractCheckerboardViewer.getCheckerboard()
Gets the checkerboard.
|
Checkerboard<P,S> |
AbstractCheckerboardEvent.getSource() |
Checkerboard<P,S> |
CheckerboardImpl.withGridDimension(org.refcodes.graphical.Dimension aDimension) |
Checkerboard<P,S> |
CheckerboardImpl.withGridDimension(org.refcodes.graphical.GridDimension aDimension) |
Checkerboard<P,S> |
CheckerboardImpl.withGridDimension(int aGridWidth,
int aGridHeight) |
Checkerboard<P,S> |
CheckerboardImpl.withGridHeight(int aHeight) |
Checkerboard<P,S> |
CheckerboardImpl.withGridMode(org.refcodes.graphical.GridMode aGridMode) |
Checkerboard<P,S> |
CheckerboardImpl.withGridWidth(int aWidth) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractCheckerboardViewer.onSubscribe(org.refcodes.observer.SubscribeEvent<Checkerboard<P,S>> aSubscribeEvent) |
void |
AbstractGraphicalCheckerboardViewer.onUnsubscribe(org.refcodes.observer.UnsubscribeEvent<Checkerboard<P,S>> aUnsubscribeEvent) |
void |
AbstractCheckerboardViewer.onUnsubscribe(org.refcodes.observer.UnsubscribeEvent<Checkerboard<P,S>> aUnsubscribeEvent) |
Constructor and Description |
---|
AbstractCheckerboardEvent(CheckerboardAction aAction,
Checkerboard<P,S> aSource)
Instantiates a new abstract checkerboard event.
|
AbstractPlayerCheckerboardEvent(CheckerboardAction aAction,
P aPlayer,
Checkerboard<P,S> aSource)
Instantiates a new abstract player checkerboard event.
|
GridDimensionChangedEventImpl(int aWidth,
int aHeight,
int aPrecedingWidth,
int aPrecedingHeigt,
Checkerboard<P,S> aSource)
Instantiates a new grid dimension changed event impl.
|
GridModeChangedEventImpl(org.refcodes.graphical.GridMode aGridMode,
org.refcodes.graphical.GridMode aPrecedingGridMode,
Checkerboard<P,S> aSource)
Instantiates a new grid mode changed event impl.
|
PlayerAddedEventImpl(P aPlayer,
Checkerboard<P,S> aSource)
Instantiates a new player added event impl.
|
PlayerRemovedEventImpl(P aPlayer,
Checkerboard<P,S> aSource)
Instantiates a new player removed event impl.
|
Copyright © 2017. All rights reserved.