18 lines
414 B
C#
18 lines
414 B
C#
using System.Linq;
|
|
|
|
namespace PrizeSystem
|
|
{
|
|
public class VitrinaPrize : Prize
|
|
{
|
|
public int[] Boxes { get; }
|
|
public override string Body => _cachedBody;
|
|
|
|
public string _cachedBody;
|
|
|
|
public VitrinaPrize(int[] boxes) : base(PrizeType.VitrinaBox)
|
|
{
|
|
Boxes = boxes.ToArray();
|
|
_cachedBody = $"VitrinaBox:{string.Join(",", Boxes)}";
|
|
}
|
|
}
|
|
} |