16 lines
No EOL
409 B
C#
16 lines
No EOL
409 B
C#
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);
|
|
}
|
|
}
|
|
} |