Example #1
0
        private void OnScoreControllerInject(ScoreController scoreController)
        {
            scoreController.OnScoreChanged += OnScoreChanged;

            OnScoreChanged(0);
        }
Example #2
0
 public static IScoreController CreateScoreController()
 {
     return(ScoreController.Create());
 }
Example #3
0
 private void OnCellMathcingEvent(int cellCount, bool isBonus)
 {
     ScoreController.AddScore(cellCount, isBonus);
     MovesController.DoMove();
 }