feat: Setup MVP

This commit is contained in:
Gerard Gascón 2024-04-12 16:25:32 +02:00
parent 14fdd4558e
commit 1dd490b7ed
27 changed files with 555 additions and 52 deletions

View 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);
}
}
}