Examples of BombBonusRule


Examples of flyingdiamond.model.gamerule.BombBonusRule

        boolean keepScore = matrix.getActivatedArticle() instanceof Scoreable;
        if (keepScore) {
          totalScore += activatedCount;
          levelScore += activatedCount;
          notifyViews(ModelUpdateCaseEnum.GOAL);
          notifyViews(new BombBonusRule().filterBonusUpdateCase(activatedCount));
        }
        //Remove activated articles.
        matrix.notifyViews(ModelUpdateCaseEnum.REMOVE_ARTICLE_PREPROCESS);
        matrix.removeActivatedArticles();
        matrix.realign();
        matrix.grow(new BombBonusRule().filterArticleGenerationStrategy(activatedCount));
        matrix.notifyViews(ModelUpdateCaseEnum.STRUCTURE_CHANGED);       
        // If level passed.
        if (levelPassed()) {  
          notifyViews(ModelUpdateCaseEnum.LEVEL_PASSED);
          nextLevel();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.