| Package | Description |
|---|---|
| com.threerings.puzzle.drop.data | |
| com.threerings.puzzle.drop.util |
| Modifier and Type | Field and Description |
|---|---|
static DropBoard.PieceOperation |
DropBoard.CLEAR_OP
An operation that does naught but clear pieces, which proves to be generally useful.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DropBoard.applyOp(int col,
int row,
DropBoard.PieceOperation op)
Applies a specified
DropBoard.PieceOperation to the specified piece in the board. |
void |
DropBoard.applyOp(int dir,
int col,
int row,
DropBoard.PieceOperation op)
Applies a specified
DropBoard.PieceOperation to all pieces in the specified row or column
starting at the specified coordinates and spanning the remainder of the row or column
(depending on the application direction) in the board. |
void |
DropBoard.applyOp(int dir,
int col,
int row,
int len,
DropBoard.PieceOperation op)
Applies a specified
DropBoard.PieceOperation to all pieces in a row or column segment
starting at the specified coordinates and of the specified length in the board. |
| Modifier and Type | Method and Description |
|---|---|
List<SegmentInfo> |
PieceDestroyer.destroyPieces(DropBoard board,
DropBoard.PieceOperation destroyOp)
Destroys all pieces in the given board that are in contiguous rows or columns of pieces,
returning a list of
SegmentInfo objects detailing the destroyed piece segments. |
Copyright © 2015. All rights reserved.