Recolour some UI elements to match the player's ink

This commit is contained in:
Andrio Celos
2022-10-28 15:05:50 +11:00
parent 391b11a386
commit fc41531398
5 changed files with 48 additions and 15 deletions

View File

@@ -135,6 +135,7 @@ public class Game {
2 => new(235, 180, 253),
_ => new(180, 253, 199),
};
this.Players[i].UIBaseColourIsSpecialColour = i != 1;
}
// Choose the stage.

View File

@@ -14,6 +14,8 @@ public class Player {
public Colour SpecialColour { get; set; }
[JsonProperty("specialAccentColour")]
public Colour SpecialAccentColour { get; set; }
[JsonProperty("uiBaseColourIsSpecialColour")]
public bool UIBaseColourIsSpecialColour { get; set; }
[JsonProperty("specialPoints")]
public int SpecialPoints { get; set; }