... | @@ -209,15 +209,27 @@ for (int i = 0; i < bmb.getPiecePlaceEnum().pieceNumber(); i++) { |
... | @@ -209,15 +209,27 @@ for (int i = 0; i < bmb.getPiecePlaceEnum().pieceNumber(); i++) { |
|
// The color of boom-button when it is at normal-state.
|
|
// The color of boom-button when it is at normal-state.
|
|
.normalColor(Color.RED)
|
|
.normalColor(Color.RED)
|
|
|
|
|
|
|
|
// The resource of color of boom-button when it is at normal-state.
|
|
|
|
.normalColorRes(R.color.red)
|
|
|
|
|
|
// The color of boom-button when it is at highlighted-state.
|
|
// The color of boom-button when it is at highlighted-state.
|
|
.highlightedColor(Color.BLUE)
|
|
.highlightedColor(Color.BLUE)
|
|
|
|
|
|
|
|
// The resource of color of boom-button when it is at highlighted-state.
|
|
|
|
.highlightedColorRes(R.color.blue)
|
|
|
|
|
|
// The color of boom-button when it is at unable-state.
|
|
// The color of boom-button when it is at unable-state.
|
|
.unableColor(Color.BLACK)
|
|
.unableColor(Color.BLACK)
|
|
|
|
|
|
|
|
// The resource of color of boom-button when it is at unable-state.
|
|
|
|
.unableColorRes(R.color.black)
|
|
|
|
|
|
// The color of boom-button when it is just a piece.
|
|
// The color of boom-button when it is just a piece.
|
|
.pieceColor(Color.WHITE)
|
|
.pieceColor(Color.WHITE)
|
|
|
|
|
|
|
|
// The resource of color of boom-button when it is just a piece.
|
|
|
|
.pieceColorRes(R.color.white)
|
|
|
|
|
|
// Whether the boom-button is unable, default value is false.
|
|
// Whether the boom-button is unable, default value is false.
|
|
.unable(false)
|
|
.unable(false)
|
|
|
|
|
... | | ... | |