refactor: renamed Model.cs to Score.cs

This commit is contained in:
Gerard Gascón 2024-04-17 00:05:36 +02:00
parent 2be3b572fb
commit 5d470a57af
8 changed files with 48 additions and 48 deletions

View file

@ -7,11 +7,11 @@ using View.UI;
namespace View {
public class Dependencies : MonoBehaviour {
public ExpressionClick ExpressionClick { private set; get; }
public Model Model { private set; get; }
public Score Score { private set; get; }
public CustomInput CustomInput { private set; get; }
private void Awake() {
Model = new Model(20, 5);
Score = new Score(20, 5);
IExpressionInput input = FindObjectOfType<ExpressionInput>();
IExpressionInput visibility = FindObjectOfType<UIVisibility>();
@ -19,7 +19,7 @@ namespace View {
IRoseSpawner spawner = FindObjectOfType<RoseSpawner>();
ExpressionClick = new ExpressionClick(Model, inputCollections, spawner);
ExpressionClick = new ExpressionClick(Score, inputCollections, spawner);
CustomInput = new CustomInput();
}