|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Position in bridge |
---|
Methods in bridge that return Position | |
---|---|
Position |
BridgeState.getFlashlightPosition()
Getter (accessor) for the position of the flashlight in this state. |
Position |
BridgeState.getP10Position()
Getter (accessor) for the position of person P10 in this state. |
Position |
BridgeState.getP1Position()
Getter (accessor) for the position of person P1 in this state. |
Position |
BridgeState.getP2Position()
Getter (accessor) for the position of person P2 in this state. |
Position |
BridgeState.getP5Position()
Getter (accessor) for the position of person P5 in this state. |
static Position |
Position.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Position[] |
Position.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Constructors in bridge with parameters of type Position | |
---|---|
BridgeState(Position p1Position,
Position p2Position,
Position flashlightPosition,
Position p5Position,
Position p10Position,
int timeSoFar)
Creates a new bridge state. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |