public static TankMsg.Color UC2TC(Color c) { TankMsg.Color result = new TankMsg.Color { r = c.r, g = c.g, b = c.b, }; return(result); }
public static Color TC2UC(TankMsg.Color c) { Color result = new Color { r = c.r, g = c.g, b = c.b, }; return(result); }