|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use StoneTray.Direction | |
---|---|
jrummikub.model |
Uses of StoneTray.Direction in jrummikub.model |
---|
Methods in jrummikub.model that return StoneTray.Direction | |
---|---|
private StoneTray.Direction |
StoneTray.getMoveDirection(E object,
Position position,
Pair<E,Position> blocking)
Returns the direction to move the object in |
static StoneTray.Direction |
StoneTray.Direction.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StoneTray.Direction[] |
StoneTray.Direction.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in jrummikub.model that return types with arguments of type StoneTray.Direction | |
---|---|
protected Pair<Position,StoneTray.Direction> |
StoneTray.fixInvalidDrop(E object,
Position pos,
StoneTray.Direction dir)
Checks whether the object may be placed on the given position, computes new position if not |
protected Pair<Position,StoneTray.Direction> |
Hand.fixInvalidDrop(Stone stone,
Position pos,
StoneTray.Direction dir)
|
Methods in jrummikub.model with parameters of type StoneTray.Direction | |
---|---|
private void |
StoneTray.drop(E object,
Position position,
StoneTray.Direction direction)
Subroutine to "drop" to consider and determine the direction the objects dropped one collides with position-wise evade in |
private void |
StoneTray.dropUnchecked(E object,
Position position,
StoneTray.Direction direction)
Subroutine to "drop" to execute the actual drop |
protected Pair<Position,StoneTray.Direction> |
StoneTray.fixInvalidDrop(E object,
Position pos,
StoneTray.Direction dir)
Checks whether the object may be placed on the given position, computes new position if not |
protected Pair<Position,StoneTray.Direction> |
Hand.fixInvalidDrop(Stone stone,
Position pos,
StoneTray.Direction dir)
|
private Position |
StoneTray.getNewPosition(E object,
Position position,
StoneTray.Direction newDirection,
E currentObject,
Position currentPosition)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |