Package com.jcloisterzone.feature.score

Examples of com.jcloisterzone.feature.score.ScoreAllFeatureFinder


        for (Player p : game.getAllPlayers()) {
            rating += reducePoints(p.getPoints(), p);
        }

        ScoreAllFeatureFinder scoreAll = new ScoreAllFeatureFinder();
        LegacyAiScoreAllCallback callback = new LegacyAiScoreAllCallback(game);
        scoreAll.scoreAll(game, callback);
        rating += callback.getRanking();

        return rating;
    }
View Full Code Here


        if (fairyCap != null) {
            //erase position to not affect final scoring
            fairyCap.setFairyPosition(null);
        }

        ScoreAllFeatureFinder scoreAll = new ScoreAllFeatureFinder();
        scoreAll.scoreAll(game, this);

        game.finalScoring();
        game.post(new GameStateChangeEvent(GameStateChangeEvent.GAME_OVER));
    }
View Full Code Here

TOP

Related Classes of com.jcloisterzone.feature.score.ScoreAllFeatureFinder

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.