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);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ae095e86bb524331a6f001ba71000218
|
||||
timeCreated: 1713195784
|
21
Assets/Scripts/View/Collections/RoseGrowCollection.cs
Normal file
21
Assets/Scripts/View/Collections/RoseGrowCollection.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
using Presenter;
|
||||
|
||||
namespace View.Collections {
|
||||
public class RoseGrowCollection : IRoseGrow {
|
||||
private readonly IRoseGrow[] _grows;
|
||||
|
||||
public RoseGrowCollection(IRoseGrow[] grows) {
|
||||
_grows = grows;
|
||||
}
|
||||
|
||||
public void Grow() {
|
||||
foreach (IRoseGrow grow in _grows)
|
||||
grow.Grow();
|
||||
}
|
||||
|
||||
public void GrowStep() {
|
||||
foreach (IRoseGrow grow in _grows)
|
||||
grow.GrowStep();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 6f517298528d4766a83770b1867f905f
|
||||
timeCreated: 1713475808
|
Loading…
Add table
Add a link
Reference in a new issue