This commit is contained in:
2025-12-17 00:55:30 +08:00
parent 85b9767201
commit 3786863b00
13 changed files with 37 additions and 73 deletions

View File

@@ -1,13 +1,11 @@
using Services;
using UnityEngine;
using Utils;
using VContainer.Unity;
using Views;
namespace Presenter {
public class GemPresenter {
private Gem gem;
private GemView gemView;
private readonly Gem gem;
private readonly GemView gemView;
public Gem Gem => this.gem;
public GemView GemView => this.gemView;

View File

@@ -1,12 +1,11 @@
using System;
using Services.Interfaces;
using VContainer.Unity;
using Views;
namespace Presenter {
public class ScorePresenter : IDisposable{
private IScoreService scoreService;
private ScoreView scoreView;
private readonly IScoreService scoreService;
private readonly ScoreView scoreView;
public ScorePresenter(IScoreService scoreService, ScoreView scoreView) {
this.scoreService = scoreService;
this.scoreView = scoreView;