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:
Peter Osterlund
2011-12-17 23:01:53 +00:00
parent 4fe1d1d578
commit 5c2dec7499
4 changed files with 70 additions and 6 deletions

View File

@@ -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)