feat: Setup MVP
This commit is contained in:
parent
14fdd4558e
commit
1dd490b7ed
27 changed files with 555 additions and 52 deletions
18
Assets/Scripts/View/Dependencies.cs
Normal file
18
Assets/Scripts/View/Dependencies.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using System;
|
||||
using Domain;
|
||||
using Presenter;
|
||||
using UnityEngine;
|
||||
|
||||
namespace View {
|
||||
public class Dependencies : MonoBehaviour {
|
||||
public CTrencadaClick CTrencadaClick { private set; get; }
|
||||
public Model Model { private set; get; }
|
||||
|
||||
private void Awake() {
|
||||
Model = new Model(0);
|
||||
|
||||
ICTrencadaInput input = FindObjectOfType<CTrencadaInput>();
|
||||
CTrencadaClick = new CTrencadaClick(Model, input);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue