using Domain; namespace Presenter.SaveSystem { public class LoadGame { private readonly IGameRepository _repository; private readonly Score _score; private readonly IExpressionInput _expressionInput; public LoadGame(IGameRepository repository, Score score, IExpressionInput expressionInput) { _repository = repository; _score = score; _expressionInput = expressionInput; } public void Run() { Score newScore = _repository.LoadScore(); _score.SetFromOtherScore(newScore); _expressionInput.UpdateView(_score.Value, _score.GrowPercentage); //spawn roses = _score.Value / (_score.SpawnRate * _score.GrowInteractions) } } }