mirror of
https://github.com/AndrioCelos/TableturfBattleApp.git
synced 2026-08-28 13:53:59 -05:00
Recolour some UI elements to match the player's ink
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user