refactor: Cleaned up score view interface

This commit is contained in:
Gerard Gascón 2024-04-19 11:28:39 +02:00
parent 779af276d3
commit 858e49e1d9
13 changed files with 36 additions and 123 deletions

View file

@ -19,9 +19,9 @@ namespace View {
private void Awake() {
Score = new Score(10, 10);
IExpressionInput input = FindObjectOfType<ExpressionInput>();
IExpressionInput visibility = FindObjectOfType<UIVisibility>();
IExpressionInput inputCollections = new ExpressionInputCollection(new[] { input, visibility });
IScoreView input = FindObjectOfType<ScoreView>();
IScoreView visibility = FindObjectOfType<UIVisibility>();
IScoreView inputCollections = new ScoreViewCollection(new[] { input, visibility });
IRoseSpawner spawner = FindObjectOfType<RoseSpawner>();