aboutsummaryrefslogtreecommitdiffstats
path: root/code/pawn/Player.Character.cs
diff options
context:
space:
mode:
Diffstat (limited to 'code/pawn/Player.Character.cs')
-rw-r--r--code/pawn/Player.Character.cs11
1 files changed, 9 insertions, 2 deletions
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()
{