feat: new sounds

This commit is contained in:
Gerard Gascón 2024-04-19 00:10:29 +02:00
parent 60265f3417
commit cbc95ec2d3
20 changed files with 302 additions and 19 deletions

View 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);
}
}
}

View file

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: ae095e86bb524331a6f001ba71000218
timeCreated: 1713195784

View 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();
}
}
}

View file

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 6f517298528d4766a83770b1867f905f
timeCreated: 1713475808