public interface Checkerboard<S> extends Players<S>, Observable<CheckerboardObserver<S>>, org.refcodes.graphical.GridDimension.GridDimensionProperty, org.refcodes.graphical.GridDimension.GridDimensionBuilder<Checkerboard<S>>, org.refcodes.graphical.GridModeAccessor.GridModeProperty, org.refcodes.graphical.GridModeAccessor.GridModeBuilder<Checkerboard<S>>, org.refcodes.component.Component
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
org.refcodes.graphical.GridWidthAccessor.GridWidthBuilder<B extends org.refcodes.graphical.GridWidthAccessor.GridWidthBuilder<B>>, org.refcodes.graphical.GridWidthAccessor.GridWidthMutator, org.refcodes.graphical.GridWidthAccessor.GridWidthProperty
org.refcodes.graphical.GridHeightAccessor.GridHeightBuilder<B extends org.refcodes.graphical.GridHeightAccessor.GridHeightBuilder<B>>, org.refcodes.graphical.GridHeightAccessor.GridHeightMutator, org.refcodes.graphical.GridHeightAccessor.GridHeightProperty
org.refcodes.graphical.GridModeAccessor.GridModeBuilder<B extends org.refcodes.graphical.GridModeAccessor.GridModeBuilder<B>>, org.refcodes.graphical.GridModeAccessor.GridModeMutator, org.refcodes.graphical.GridModeAccessor.GridModeProperty
Modifier and Type | Method and Description |
---|---|
Player<S> |
atBottomLeftOf(org.refcodes.graphical.Position aPos) |
Player<S> |
atBottomOf(org.refcodes.graphical.Position aPos) |
Player<S> |
atBottomRightOf(org.refcodes.graphical.Position aPos) |
Player<S> |
atLeftOf(org.refcodes.graphical.Position aPos) |
Player<S> |
atPosition(int aPosX,
int aPosY) |
Player<S> |
atPosition(org.refcodes.graphical.Position aPos) |
Player<S> |
atRightOf(org.refcodes.graphical.Position aPos) |
Player<S> |
atTopLeftOf(org.refcodes.graphical.Position aPos) |
Player<S> |
atTopOf(org.refcodes.graphical.Position aPos) |
Player<S> |
atTopRightOf(org.refcodes.graphical.Position aPos) |
Map<Integer,Player<S>> |
getColumn(int aColumn) |
Map<Integer,Player<S>> |
getRow(int aRow) |
boolean |
hasAtBottomLeftOf(org.refcodes.graphical.Position aPos) |
boolean |
hasAtBottomOf(org.refcodes.graphical.Position aPos) |
boolean |
hasAtBottomRightOf(org.refcodes.graphical.Position aPos) |
boolean |
hasAtLeftOf(org.refcodes.graphical.Position aPos) |
boolean |
hasAtPosition(int aPosX,
int aPosY) |
boolean |
hasAtPosition(org.refcodes.graphical.Position aPos) |
boolean |
hasAtRightOf(org.refcodes.graphical.Position aPos) |
boolean |
hasAtTopLeftOf(org.refcodes.graphical.Position aPos) |
boolean |
hasAtTopOf(org.refcodes.graphical.Position aPos) |
boolean |
hasAtTopRightOf(org.refcodes.graphical.Position aPos) |
clearPlayers, getPlayers, hasPlayer, hasPlayers, playerCount, players, putPlayer, removePlayer
hasObserverSubscription, subscribeObserver, unsubscribeObserver
setGridDimension, setGridDimension, setGridDimension
setGridWidth
setGridHeight
withGridDimension, withGridDimension, withGridDimension
withGridWidth
withGridHeight
setGridMode
boolean hasAtPosition(org.refcodes.graphical.Position aPos) throws IndexOutOfBoundsException
IndexOutOfBoundsException
boolean hasAtPosition(int aPosX, int aPosY) throws IndexOutOfBoundsException
IndexOutOfBoundsException
Player<S> atPosition(org.refcodes.graphical.Position aPos) throws IndexOutOfBoundsException
IndexOutOfBoundsException
Player<S> atPosition(int aPosX, int aPosY) throws IndexOutOfBoundsException
IndexOutOfBoundsException
Map<Integer,Player<S>> getRow(int aRow) throws IndexOutOfBoundsException
IndexOutOfBoundsException
Map<Integer,Player<S>> getColumn(int aColumn) throws IndexOutOfBoundsException
IndexOutOfBoundsException
boolean hasAtTopOf(org.refcodes.graphical.Position aPos) throws IndexOutOfBoundsException
IndexOutOfBoundsException
Player<S> atTopOf(org.refcodes.graphical.Position aPos) throws IndexOutOfBoundsException
IndexOutOfBoundsException
boolean hasAtTopRightOf(org.refcodes.graphical.Position aPos) throws IndexOutOfBoundsException
IndexOutOfBoundsException
Player<S> atTopRightOf(org.refcodes.graphical.Position aPos) throws IndexOutOfBoundsException
IndexOutOfBoundsException
boolean hasAtRightOf(org.refcodes.graphical.Position aPos) throws IndexOutOfBoundsException
IndexOutOfBoundsException
Player<S> atRightOf(org.refcodes.graphical.Position aPos) throws IndexOutOfBoundsException
IndexOutOfBoundsException
boolean hasAtBottomRightOf(org.refcodes.graphical.Position aPos) throws IndexOutOfBoundsException
IndexOutOfBoundsException
Player<S> atBottomRightOf(org.refcodes.graphical.Position aPos) throws IndexOutOfBoundsException
IndexOutOfBoundsException
boolean hasAtBottomOf(org.refcodes.graphical.Position aPos) throws IndexOutOfBoundsException
IndexOutOfBoundsException
Player<S> atBottomOf(org.refcodes.graphical.Position aPos) throws IndexOutOfBoundsException
IndexOutOfBoundsException
boolean hasAtBottomLeftOf(org.refcodes.graphical.Position aPos) throws IndexOutOfBoundsException
IndexOutOfBoundsException
Player<S> atBottomLeftOf(org.refcodes.graphical.Position aPos) throws IndexOutOfBoundsException
IndexOutOfBoundsException
boolean hasAtLeftOf(org.refcodes.graphical.Position aPos) throws IndexOutOfBoundsException
IndexOutOfBoundsException
Player<S> atLeftOf(org.refcodes.graphical.Position aPos) throws IndexOutOfBoundsException
IndexOutOfBoundsException
boolean hasAtTopLeftOf(org.refcodes.graphical.Position aPos) throws IndexOutOfBoundsException
IndexOutOfBoundsException
Player<S> atTopLeftOf(org.refcodes.graphical.Position aPos) throws IndexOutOfBoundsException
IndexOutOfBoundsException
Copyright © 2016. All rights reserved.