feat: new sounds
This commit is contained in:
parent
60265f3417
commit
cbc95ec2d3
20 changed files with 302 additions and 19 deletions
16
Assets/Scripts/View/Collections/ExpressionInputCollection.cs
Normal file
16
Assets/Scripts/View/Collections/ExpressionInputCollection.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using Presenter;
|
||||
|
||||
namespace View.Collections {
|
||||
public class ExpressionInputCollection : IExpressionInput {
|
||||
private readonly IExpressionInput[] _inputs;
|
||||
|
||||
public ExpressionInputCollection(IExpressionInput[] inputs) {
|
||||
_inputs = inputs;
|
||||
}
|
||||
|
||||
public void UpdateView(int score, float growPercentage) {
|
||||
foreach (IExpressionInput input in _inputs)
|
||||
input.UpdateView(score, growPercentage);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue