mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-19 20:22:18 +01:00
DroidFish: Made it possible to click on moves in the move list to navigate to the corresponding position in the game. Idea from Scid on the go.
This commit is contained in:
@@ -323,6 +323,12 @@ public class Game {
|
||||
}
|
||||
}
|
||||
|
||||
public final void goNode(Node node) {
|
||||
tree.goNode(node);
|
||||
pendingDrawOffer = false;
|
||||
updateTimeControl(true);
|
||||
}
|
||||
|
||||
public final void newGame() {
|
||||
tree = new GameTree(gameTextListener);
|
||||
if (computerPlayer != null)
|
||||
|
||||
Reference in New Issue
Block a user