diff options
author | Alexander Foremny <aforemny@posteo.de> | 2024-04-08 13:47:18 +0200 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-04-08 15:23:13 +0200 |
commit | 1a559793251e80952bd3bdc668cfda46cbc38e73 (patch) | |
tree | a6b2649ac895a75ff48766e24c01202a1ca6a376 /src/shared/name.rs | |
parent | d39c819000569b468cfa68977f8a8b03062ac5d9 (diff) |
feat: add player namesmain
Diffstat (limited to 'src/shared/name.rs')
-rw-r--r-- | src/shared/name.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shared/name.rs b/src/shared/name.rs new file mode 100644 index 0000000..acf9db5 --- /dev/null +++ b/src/shared/name.rs @@ -0,0 +1,6 @@ +use bevy::prelude::*; +use lightyear::prelude::*; +use serde::*; + +#[derive(Component, Message, Clone, Serialize, Deserialize, Debug, PartialEq, Eq)] +pub struct Name_(pub String); |