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> |
atPosition(int aPosX,
int aPosY) |
Player<S> |
atPosition(org.refcodes.graphical.Position aPos) |
Map<Integer,Player<S>> |
getColumn(int aColumn) |
Map<Integer,Player<S>> |
getRow(int aRow) |
boolean |
hasAtPosition(int aPosX,
int aPosY) |
boolean |
hasAtPosition(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
Copyright © 2015. All rights reserved.