Package com.sgfj

Examples of com.sgfj.SGFMove


        playNodeProperties();
    }

    public void pass() throws GameOverStoneException {
        super.pass();
        kifu.current().play(new SGFMove(-1, -1, colorToPlay));
        kifu.next(true);
        playNodeProperties();
    }
View Full Code Here


    public boolean next() throws GameException {
        SGFNode node = kifu.next(false);
        if (node == null)
            return false;
        try {
            SGFMove move = node.getMoveProperty();
            boardPlay(move, true);
        } catch (SGFPropertyNotFoundException e) {
            advance();
        }
        kifu.next(true);
View Full Code Here

        if (node == null)
            return false;
        super.undo();
        try {
            try {
                SGFMove move = node.getMoveProperty();
                boardPlay(move, true);
            } catch (SGFPropertyNotFoundException e) {
                advance();
            }
            kifu.nextVariant(true);
View Full Code Here

        if (node == null)
            return false;
        super.undo();
        try {
            try {
                SGFMove move = node.getMoveProperty();
                boardPlay(move, true);
            } catch (SGFPropertyNotFoundException e) {
                advance();
            }
            kifu.prevVariant(true);
View Full Code Here

TOP

Related Classes of com.sgfj.SGFMove

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.