private void SetShapeColour(PlayerColour colour) { if (Shape != null) { Shape.FillColor = colour.ToRGB(); } }
public static Color ToSystemActiveColor(this PlayerColour colour) { var rgb = colour.ToRGB(); return(Color.FromArgb(rgb.A, rgb.R, rgb.G, rgb.B)); }