Files @ 62d349a8db2f
Branch filter:

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

Jason Maltzen
Fix the PaintMix export format - use the PracticalPaint internal names for ingredients, and remove excess whitespace. Also, don't export a recipe for colors that don't have a recipe.
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 + "]";
        }
    }
}