using System;
using System.Linq;

namespace FishDice.Demo
{
    public sealed class LuckyDiceDemoScenario
    {
        public LuckyDiceDemoScenario(string title, string description, params int[] randomValues)
        {
            Title = string.IsNullOrWhiteSpace(title) ? "Untitled Scenario" : title;
            Description = description ?? string.Empty;
            RandomValues = randomValues == null ? Array.Empty<int>() : randomValues.ToArray();
        }

        public string Title { get; }

        public string Description { get; }

        public int[] RandomValues { get; }
    }
}
