| Package | Description |
|---|---|
| org.refcodes.checkerboard | |
| org.refcodes.checkerboard.impls |
| Modifier and Type | Method and Description |
|---|---|
Player<S> |
Checkerboard.atBottomLeftOf(org.refcodes.graphical.Position aPos) |
Player<S> |
Checkerboard.atBottomOf(org.refcodes.graphical.Position aPos) |
Player<S> |
Checkerboard.atBottomRightOf(org.refcodes.graphical.Position aPos) |
Player<S> |
Checkerboard.atLeftOf(org.refcodes.graphical.Position aPos) |
Player<S> |
Checkerboard.atPosition(int aPosX,
int aPosY) |
Player<S> |
Checkerboard.atPosition(org.refcodes.graphical.Position aPos) |
Player<S> |
Checkerboard.atRightOf(org.refcodes.graphical.Position aPos) |
Player<S> |
Checkerboard.atTopLeftOf(org.refcodes.graphical.Position aPos) |
Player<S> |
Checkerboard.atTopOf(org.refcodes.graphical.Position aPos) |
Player<S> |
Checkerboard.atTopRightOf(org.refcodes.graphical.Position aPos) |
Player<S> |
PlayerAccessor.getPlayer()
Retrieves the player from the player property.
|
Player<S> |
Players.putPlayer(Player<S> aElement) |
| Modifier and Type | Method and Description |
|---|---|
Map<Integer,Player<S>> |
Checkerboard.getColumn(int aColumn) |
List<Player<S>> |
Players.getPlayers() |
Map<Integer,Player<S>> |
Checkerboard.getRow(int aRow) |
Iterator<Player<S>> |
Players.players() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Players.hasPlayer(Player<S> aElement) |
Player<S> |
Players.putPlayer(Player<S> aElement) |
boolean |
Players.removePlayer(Player<S> aElement) |
void |
PlayerAccessor.PlayerMutator.setPlayer(Player<S> aPlayer)
Sets the player for the player property.
|
B |
PlayerAccessor.PlayerBuilder.withPlayer(Player<S> aPlayer)
Sets the player for the player property.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PlayerImpl<S> |
| Modifier and Type | Method and Description |
|---|---|
Player<S> |
CheckerboardImpl.atBottomLeftOf(org.refcodes.graphical.Position aPos) |
Player<S> |
CheckerboardImpl.atBottomOf(org.refcodes.graphical.Position aPos) |
Player<S> |
CheckerboardImpl.atBottomRightOf(org.refcodes.graphical.Position aPos) |
Player<S> |
CheckerboardImpl.atLeftOf(org.refcodes.graphical.Position aPos) |
Player<S> |
CheckerboardImpl.atPosition(int aPosX,
int aPosY) |
Player<S> |
CheckerboardImpl.atPosition(org.refcodes.graphical.Position aPos) |
Player<S> |
CheckerboardImpl.atRightOf(org.refcodes.graphical.Position aPos) |
Player<S> |
CheckerboardImpl.atTopLeftOf(org.refcodes.graphical.Position aPos) |
Player<S> |
CheckerboardImpl.atTopOf(org.refcodes.graphical.Position aPos) |
Player<S> |
CheckerboardImpl.atTopRightOf(org.refcodes.graphical.Position aPos) |
Player<S> |
AbstractCheckerboardEvent.AbstractPlayerCheckerboardEvent.getPlayer() |
Player<S> |
AbstractPlayerEvent.getSource() |
Player<S> |
CheckerboardImpl.putPlayer(Player<S> aPlayer) |
Player<S> |
PlayerImpl.withDraggable() |
Player<S> |
PlayerImpl.withDraggable(boolean isDraggable) |
Player<S> |
PlayerImpl.withHide() |
Player<S> |
PlayerImpl.withPosition(int aPosX,
int aPosY) |
Player<S> |
PlayerImpl.withPosition(org.refcodes.graphical.Position aPosition) |
Player<S> |
PlayerImpl.withPositionX(int aPosX) |
Player<S> |
PlayerImpl.withPositionY(int aPosY) |
Player<S> |
PlayerImpl.withShow() |
Player<S> |
PlayerImpl.withState(S aState) |
Player<S> |
PlayerImpl.withStationary() |
Player<S> |
PlayerImpl.withVisible(boolean isVisible) |
| Modifier and Type | Method and Description |
|---|---|
Map<Integer,Player<S>> |
CheckerboardImpl.getColumn(int aColumn) |
List<Player<S>> |
CheckerboardImpl.getPlayers() |
Map<Integer,Player<S>> |
CheckerboardImpl.getRow(int aRow) |
Iterator<Player<S>> |
CheckerboardImpl.players() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CheckerboardImpl.hasPlayer(Player<S> aPlayer) |
Player<S> |
CheckerboardImpl.putPlayer(Player<S> aPlayer) |
boolean |
CheckerboardImpl.removePlayer(Player<S> aPlayer) |
| Constructor and Description |
|---|
AbstractPlayerCheckerboardEvent(CheckerboardAction aAction,
Player<S> aPlayer,
Checkerboard<S> aSource) |
AbstractPlayerEvent(PlayerAction aAction,
Player<S> aSource) |
ChangePositionEventImpl(int aPosX,
int aPosY,
int aPrePosX,
int aPrePosY,
Player<S> aSource) |
ChangePositionEventImpl(org.refcodes.graphical.Position aPosition,
org.refcodes.graphical.Position aPrecedingPosition,
Player<S> aSource) |
DraggabilityChangedEventImpl(Player<S> aSource) |
PlayerAddedEventImpl(Player<S> aPlayer,
Checkerboard<S> aSource) |
PlayerRemovedEventImpl(Player<S> aPlayer,
Checkerboard<S> aSource) |
PositionChangedEventImpl(int aPosX,
int aPosY,
int aPrePosX,
int aPrePosY,
Player<S> aSource) |
PositionChangedEventImpl(org.refcodes.graphical.Position aPosition,
org.refcodes.graphical.Position aPrecedingPosition,
Player<S> aSource) |
StateChangedEventImpl(S aState,
S aPrecedingState,
Player<S> aSource) |
VisibilityChangedEventImpl(Player<S> aSource) |
Copyright © 2016. All rights reserved.