16 lines
311 B
C#
16 lines
311 B
C#
using Newtonsoft.Json;
|
|
using System.Linq;
|
|
|
|
namespace PrizeSystem
|
|
{
|
|
public class VitrinaPrize : Prize
|
|
{
|
|
public int[] Boxes { get; }
|
|
|
|
[JsonConstructor]
|
|
public VitrinaPrize(int[] boxes) : base(PrizeType.VitrinaBox)
|
|
{
|
|
Boxes = boxes.ToArray();
|
|
}
|
|
}
|
|
} |