类 ChessBoardDisplayer
java.lang.Object
me.magicall.game.sub.chess.util.ChessBoardDisplayer
-
字段概要
字段修饰符和类型字段说明static final charstatic final charstatic final charstatic final ChessBoardDisplayerstatic final charstatic final charstatic final charstatic final charstatic final Stringstatic final charstatic final charstatic final charstatic final charstatic final char -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected charcharOfPosition(ChessBoard board, int rowIndex, int columnIndex) protected chargetBottomCrossChar(ChessBoard board, int rowIndex, int columnIndex) protected intgetColumnCount(ChessBoard board) protected chargetHeadCrossChar(ChessBoard board, int rowIndex, int columnIndex) protected chargetHorizonalLineChar(ChessBoard board, int rowIndex, int columnIndex) protected chargetLeftBottomChar(ChessBoard board, int rowIndex, int columnIndex) protected chargetLeftCrossChar(ChessBoard board, int rowIndex, int columnIndex) protected chargetLeftHeadChar(ChessBoard board, int rowIndex, int columnIndex) protected intgetMaxColumnIndex(ChessBoard board) protected intgetMaxRowIndex(ChessBoard board) protected chargetMiddleCrossChar(ChessBoard board, int rowIndex, int columnIndex) protected chargetRightBottomChar(ChessBoard board, int rowIndex, int columnIndex) protected chargetRightCrossChar(ChessBoard board, int rowIndex, int columnIndex) protected chargetRightHeadChar(ChessBoard board, int rowIndex, int columnIndex) protected intgetRowCount(ChessBoard board) protected chargetSpaceChar(ChessBoard board, int rowIndex, int columnIndex) protected chargetVerticalLineChar(ChessBoard board, int rowIndex, int columnIndex) protected booleanisColumnIndexInCross(ChessBoard board, int columnIndex) protected booleanisRowIndexInCross(ChessBoard board, int rowIndex) char[][]toCharSquare(ChessBoard board) toString(char[]... charSquare) toString(ChessBoard board) toStringBuilder(char[]... charSquare)
-
字段详细资料
-
INSTANCE
-
NEW_LINE
-
SPACE
public static final char SPACE- 另请参阅:
-
VERTICAL_LINE
public static final char VERTICAL_LINE- 另请参阅:
-
HORIZONAL_LINE
public static final char HORIZONAL_LINE- 另请参阅:
-
LEFT_HEAD
public static final char LEFT_HEAD- 另请参阅:
-
RIGHT_HEAD
public static final char RIGHT_HEAD- 另请参阅:
-
LEFT_BOTTOM
public static final char LEFT_BOTTOM- 另请参阅:
-
RIGHT_BOTTOM
public static final char RIGHT_BOTTOM- 另请参阅:
-
HEAD_CROSS
public static final char HEAD_CROSS- 另请参阅:
-
LEFT_CROSS
public static final char LEFT_CROSS- 另请参阅:
-
RIGHT_CROSS
public static final char RIGHT_CROSS- 另请参阅:
-
BOTTOM_CROSS
public static final char BOTTOM_CROSS- 另请参阅:
-
MIDDLE_CROSS
public static final char MIDDLE_CROSS- 另请参阅:
-
-
构造器详细资料
-
ChessBoardDisplayer
public ChessBoardDisplayer()
-
-
方法详细资料
-
toString
-
toString
-
toStringBuilder
-
toCharSquare
-
getMaxRowIndex
-
getMaxColumnIndex
-
getRowCount
-
getColumnCount
-
charOfPosition
-
getSpaceChar
-
getVerticalLineChar
-
getMiddleCrossChar
-
getRightCrossChar
-
getLeftCrossChar
-
getBottomCrossChar
-
getRightBottomChar
-
getLeftBottomChar
-
getHorizonalLineChar
-
getHeadCrossChar
-
getRightHeadChar
-
getLeftHeadChar
-
isColumnIndexInCross
-
isRowIndexInCross
-