Files @ 5e28ba3945f7
Branch filter:

Location: ATITD-Tools/Desert-Paint-Codex/Models/Reaction.cs - annotation

Jason Maltzen
Recipe count is now a ulong instead of an int so it can show values > 2.47 billion. Also, don't allow clearing the recipe list while the recipe generator is running.
namespace DesertPaintCodex.Models
{
    public class Reaction
    {
        public int Red { get; }
        public int Green { get; }
        public int Blue { get; }
        public bool Exported { get; set; }

        public Reaction(int r, int g, int b)
        {
            Red = r;
            Green = g;
            Blue = b;
        }

        public override string ToString()
        {
            return "[" + Red + ", " + Green + ", " + Blue + "]";
        }
    }
}