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

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