public class DropBoardSummary extends BoardSummary
DropBoard.| Modifier and Type | Field and Description |
|---|---|
byte[] |
columns
The row levels for each column.
|
| Constructor and Description |
|---|
DropBoardSummary()
Constructs an empty drop board summary for use when un-serializing.
|
DropBoardSummary(Board board)
Constructs a drop board summary that retrieves board information from the supplied board
when summarizing.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHighestColumn(int startx,
int endx)
Returns the column number of the column within the given column range that contains the
most pieces.
|
void |
setBoard(Board board)
Sets the board associated with this board summary, causing an immediate update to this
summary.
|
void |
summarize()
Called by the
PuzzleManager to refresh the board
summary information by studying the associated board contents. |
public DropBoardSummary()
public DropBoardSummary(Board board)
public int getHighestColumn(int startx,
int endx)
public void setBoard(Board board)
BoardSummarysetBoard in class BoardSummarypublic void summarize()
BoardSummaryPuzzleManager to refresh the board
summary information by studying the associated board contents.summarize in class BoardSummaryCopyright © 2015. All rights reserved.