public StageDataUseCase(IStageDataRepository stageDataRepository, IClearDataRepository clearDataRepository) { var stageDataEntity = stageDataRepository.stageDataEntity; _playerEntity = new CharacterEntity(150, 5); _enemyEntity = new CharacterEntity(stageDataEntity.enemyHp, stageDataEntity.enemyAttack); _playerHpModel = new HpModel(_playerEntity.GetHp()); _enemyHpModel = new HpModel(_enemyEntity.GetHp()); _clearDataRepository = clearDataRepository; }
public ClearDataUseCase(IClearDataRepository clearDataRepository) { _clearDataRepository = clearDataRepository; }