Files @ 4778889395e8
Branch filter:

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

Jason Maltzen
Change the displayed permeutation count to display using locale-specific number formatting (with comma / dot separators). Fix a crash when starting a new round of recipe generation after recipe generation completed during a previous run.
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 + "]";
        }
    }
}