Initial Commit
This commit is contained in:
29
SlaveMatrix/SlaveMatrix/BodyPartClasses/ピアス色.cs
Normal file
29
SlaveMatrix/SlaveMatrix/BodyPartClasses/ピアス色.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
|
||||
namespace SlaveMatrix;
|
||||
|
||||
[Serializable]
|
||||
public struct ピアス色
|
||||
{
|
||||
public Color ピアス;
|
||||
|
||||
public Color2 金具色;
|
||||
|
||||
public void SetDefault()
|
||||
{
|
||||
ピアス = Color.Gold;
|
||||
SetColor2();
|
||||
}
|
||||
|
||||
public void SetRandom()
|
||||
{
|
||||
Col.GetRandomClothesColor(out ピアス);
|
||||
SetColor2();
|
||||
}
|
||||
|
||||
public void SetColor2()
|
||||
{
|
||||
Col.GetGrad(ref ピアス, out 金具色);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user