21 lines
No EOL
509 B
C#
21 lines
No EOL
509 B
C#
using System;
|
|
using Domain;
|
|
using Presenter;
|
|
using UnityEngine;
|
|
|
|
namespace View {
|
|
public class Dependencies : MonoBehaviour {
|
|
public ExpressionClick ExpressionClick { private set; get; }
|
|
public Model Model { private set; get; }
|
|
public CustomInput CustomInput { private set; get; }
|
|
|
|
private void Awake() {
|
|
Model = new Model(0);
|
|
|
|
IExpressionInput input = FindObjectOfType<ExpressionInput>();
|
|
ExpressionClick = new ExpressionClick(Model, input);
|
|
|
|
CustomInput = new CustomInput();
|
|
}
|
|
}
|
|
} |