using System;
using System.Drawing;

namespace SlaveMatrix
{
    [Serializable]
    public struct チューブT色
    {
    	public Color 生地;

    	public Color 縁;

    	public Color2 生地色;

    	public Color2 縁色;

    	public void SetDefault()
    	{
    		生地 = Color.OldLace;
    		縁 = Color.OldLace;
    		SetColor2();
    	}

    	public void SetRandom()
    	{
    		Col.GetRandomClothesColor(out 生地);
    		縁 = 生地;
    		SetColor2();
    	}

    	public void SetColor2()
    	{
    		Col.GetGrad(ref 生地, out 生地色);
    		Col.GetGrad(ref 縁, out 縁色);
    	}
    }
}
