From dbf0218371ce006b674b0ede8e6a4d97932ff2c6 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Tue, 1 Aug 2023 01:31:25 +0100 Subject: Add footprints --- code/pawn/Player.Character.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'code/pawn/Player.Character.cs') diff --git a/code/pawn/Player.Character.cs b/code/pawn/Player.Character.cs index a8fc19c..579107a 100644 --- a/code/pawn/Player.Character.cs +++ b/code/pawn/Player.Character.cs @@ -5,10 +5,17 @@ namespace MurderGame; public partial class Player { [Net] public Team Team { get; set; } - + [Net] public string CharacterName { get; set; } - [Net] public string HexColor { get; set; } + [Net] public Color Color { get; set; } = Color.White; + + public string HexColor { + get + { + return Color.Hex; + } + } public string GetTeamName() { -- cgit v1.2.3-70-g09d2