refactor: made the input reader expandable
This commit is contained in:
parent
12304c6bb4
commit
59a3d96b5b
10 changed files with 72 additions and 24 deletions
|
@ -7,12 +7,15 @@ namespace View {
|
|||
public class Dependencies : MonoBehaviour {
|
||||
public CTrencadaClick CTrencadaClick { private set; get; }
|
||||
public Model Model { private set; get; }
|
||||
public CustomInput CustomInput { private set; get; }
|
||||
|
||||
private void Awake() {
|
||||
Model = new Model(0);
|
||||
|
||||
ICTrencadaInput input = FindObjectOfType<CTrencadaInput>();
|
||||
CTrencadaClick = new CTrencadaClick(Model, input);
|
||||
|
||||
CustomInput = new CustomInput();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue