Uses of Class
featurecat.lizzie.rules.BoardHistoryNode
-
Packages that use BoardHistoryNode Package Description featurecat.lizzie.gui featurecat.lizzie.rules -
-
Uses of BoardHistoryNode in featurecat.lizzie.gui
Methods in featurecat.lizzie.gui that return types with arguments of type BoardHistoryNode Modifier and Type Method Description Optional<BoardHistoryNode>VariationTree. draw(Graphics2D g, int posx, int posy, int width, int height, boolean calc)Optional<BoardHistoryNode>VariationTree. drawTree(Graphics2D g, int posx, int posy, int startLane, int maxposy, int minposx, BoardHistoryNode startNode, int variationNumber, boolean isMain, boolean calc)Methods in featurecat.lizzie.gui with parameters of type BoardHistoryNode Modifier and Type Method Description Optional<BoardHistoryNode>VariationTree. drawTree(Graphics2D g, int posx, int posy, int startLane, int maxposy, int minposx, BoardHistoryNode startNode, int variationNumber, boolean isMain, boolean calc)ColorLizzieFrame. getBlunderNodeColor(BoardHistoryNode node)doubleLizzieFrame. lastWinrateDiff(BoardHistoryNode node) -
Uses of BoardHistoryNode in featurecat.lizzie.rules
Methods in featurecat.lizzie.rules that return BoardHistoryNode Modifier and Type Method Description BoardHistoryNodeBoardHistoryNode. add(BoardHistoryNode node)Sets up for a new node.BoardHistoryNodeBoardHistoryNode. addOrGoto(BoardData data)If we already have a next node with the same BoardData, move to it, otherwise add it and move to it.BoardHistoryNodeBoardHistoryNode. addOrGoto(BoardData data, boolean newBranch)If we already have a next node with the same BoardData, move to it, otherwise add it and move to it.BoardHistoryNodeBoardHistoryNode. childAtDepth(int depth)Given some depth, returns the child at the given depth in the main trunk.BoardHistoryNodeBoardHistoryNode. findTop()Find top of variation (the first move that is on the main trunk)BoardHistoryNodeBoardHistoryList. getCurrentHistoryNode()BoardHistoryNodeBoardHistoryList. root()Returns the root nodeBoardHistoryNodeBoardHistoryNode. topOfBranch()Methods in featurecat.lizzie.rules that return types with arguments of type BoardHistoryNode Modifier and Type Method Description Optional<BoardHistoryNode>BoardHistoryNode. findChildOfPreviousWithVariation()Find first move with variations in tree above node.Optional<BoardHistoryNode>BoardHistoryNode. firstParentWithVariations()Finds the first parent with variations.List<BoardHistoryNode>BoardHistoryList. getNexts()Optional<BoardHistoryNode>BoardHistoryNode. getVariation(int idx)List<BoardHistoryNode>BoardHistoryNode. getVariations()Optional<BoardHistoryNode>BoardHistoryNode. next()Optional<BoardHistoryNode>BoardHistoryNode. previous()Methods in featurecat.lizzie.rules with parameters of type BoardHistoryNode Modifier and Type Method Description BoardHistoryNodeBoardHistoryNode. add(BoardHistoryNode node)Sets up for a new node.intBoardHistoryNode. depthOfNode(BoardHistoryNode childNode)Given a child node, find the depth of that child node in its parentintBoardHistoryNode. findIndexOfNode(BoardHistoryNode childNode, boolean allSub)Given a child node, find the index of that child node in its parentintBoardHistoryNode. indexOfNode(BoardHistoryNode childNode)Given a child node, find the index of that child node in its parentvoidBoardHistoryNode. moveChildDown(BoardHistoryNode child)voidBoardHistoryNode. moveChildUp(BoardHistoryNode child)voidBoard. moveToAnyPosition(BoardHistoryNode targetNode)Jump anywhere in the board history tree.voidBoard. restoreMoveNumber(BoardHistoryNode node)Restore move number by nodevoidBoard. saveBackRouting(BoardHistoryNode node)Save the back routing from childrenvoidBoardHistoryNode. swapMoveNumberList(BoardHistoryNode child)
-