Added int constructor to Color

This commit is contained in:
RogueException
2017-04-08 17:15:57 -03:00
parent e92cfd20ac
commit 0ce313c408

View File

@@ -28,7 +28,14 @@ namespace Discord
RawValue =
((uint)r << 16) |
((uint)g << 8) |
b;
(uint)b;
}
public Color(int r, int g, int b)
{
RawValue =
((uint)r << 16) |
((uint)g << 8) |
(uint)b;
}
public Color(float r, float g, float b)
{