A C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
M
- MOVABLE_NEG - api.State
- MOVABLE_POS - api.State
- move(Direction) - Method in class hw3.Pearls
-
Performs a move along a state sequence in the given direction, updating the score, the move count, and all affected cells in the grid.
- moveBlocks(State[], MoveRecord[]) - Method in class hw3.PearlUtil
-
Updates the given state sequence to be consistent with shifting all movable blocks as far to the right as possible, replacing their previous positions with EMPTY.
- movePlayer(State[], MoveRecord[], Direction) - Method in class hw3.PearlUtil
-
Updates the given state sequence to be consistent with shifting the "player" to the right as far as possible.
- MoveRecord - Class in api
-
A MoveRecord encapsulates a State along with information about how it might have been shifted or modified during a move in the game.
- MoveRecord(State, int) - Constructor for class api.MoveRecord
-
Constructs a MoveRecord from the given State and index.
All Classes All Packages