aboutsummaryrefslogtreecommitdiffstats
path: root/code/pawn/Player.Character.cs
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2023-08-01 01:31:25 +0100
committerLeonardo Bishop <me@leonardobishop.com>2023-08-01 01:31:25 +0100
commitdbf0218371ce006b674b0ede8e6a4d97932ff2c6 (patch)
treea865e7ff8e9f65579435b951a0c2ceffd8237c61 /code/pawn/Player.Character.cs
parentca0d44610b6216f82fcf8f5830d445963654db64 (diff)
Add footprints
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()
{