private void SetMusicalScore(IMusicalScore score) { if (score != null) { score.InitWithLesson(this.currentLesson); } }
public void SetUp() { this.scoreController = Substitute.For <IMusicalScore>(); this.scoreContainer = new ScoreContainer(this.scoreController); }
public ScoreContainer(IMusicalScore score) { this.score = score; SetBarWidth((float)Screen.width); }