Package | Description |
---|---|
cube | |
robot | |
twophase |
Modifier and Type | Field and Description |
---|---|
Direction |
Action.direction |
Modifier and Type | Method and Description |
---|---|
private void |
Cube.changePosition(FlipMethod cubeFlips,
Direction direction,
Orientation orientation)
Move the face from its current orientation to the bottom (to be the DOWN face).
|
void |
IFace.turn(Direction direction) |
void |
Cube.Face.turn(Direction direction)
Represents a turn of the face in a desired direction.
|
Constructor and Description |
---|
Action(FlipMethod flips,
Direction direction) |
Modifier and Type | Method and Description |
---|---|
Direction |
Direction.mirror() |
static Direction |
Direction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Direction[] |
Direction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
Robot.rotateCube(Direction direction)
Rotate entire cube
|
static void |
Robot.turnFace(Direction direction)
Rotate the face currently facing down
|
Modifier and Type | Field and Description |
---|---|
Direction |
Move.direction |
Constructor and Description |
---|
Move(Orientation orientation,
Direction direction) |