2026-07-14 11:14:13 +03:00

17 lines
420 B
C#

namespace PrizeSystem
{
public class CountablePrize : Prize
{
public CountablePrizeType Type { get; private set; }
public int Amount { get;}
public override string Body => $"{Type}:{Amount}";
public CountablePrize(CountablePrizeType type, int amount) : base(PrizeUtils.CountableToGeneral(type))
{
Type = type;
Amount = amount;
}
}
}