mirror of
https://github.com/AndrioCelos/TableturfBattleApp.git
synced 2026-03-23 02:14:10 -05:00
18 lines
294 B
C#
18 lines
294 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace TableturfBattleServer;
|
|
public struct Colour {
|
|
[JsonProperty("r")]
|
|
public int R;
|
|
[JsonProperty("g")]
|
|
public int G;
|
|
[JsonProperty("b")]
|
|
public int B;
|
|
|
|
public Colour(int r, int g, int b) {
|
|
this.R = r;
|
|
this.G = g;
|
|
this.B = b;
|
|
}
|
|
}
|