aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/name.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/name.rs')
-rw-r--r--src/shared/name.rs6
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);