feat: new sounds
This commit is contained in:
parent
60265f3417
commit
cbc95ec2d3
20 changed files with 302 additions and 19 deletions
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();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue