Пример #1
0
 private void SetMusicalScore(IMusicalScore score)
 {
     if (score != null)
     {
         score.InitWithLesson(this.currentLesson);
     }
 }
Пример #2
0
 public void SetUp()
 {
     this.scoreController = Substitute.For <IMusicalScore>();
     this.scoreContainer  = new ScoreContainer(this.scoreController);
 }
Пример #3
0
 public ScoreContainer(IMusicalScore score)
 {
     this.score = score;
     SetBarWidth((float)Screen.width);
 }