aboutsummaryrefslogtreecommitdiff
path: root/plugins/movement/src/movement.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-08 15:23:24 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-08 15:23:24 +0800
commitfc0d77d6838b16d811ffe5e999d3d77d499b470f (patch)
tree00565a452f9045b4fb357ae04a1cae349163839a /plugins/movement/src/movement.rs
chore: initialize project workspace and movement plugin
Diffstat (limited to 'plugins/movement/src/movement.rs')
-rw-r--r--plugins/movement/src/movement.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/movement/src/movement.rs b/plugins/movement/src/movement.rs
new file mode 100644
index 0000000..4c13908
--- /dev/null
+++ b/plugins/movement/src/movement.rs
@@ -0,0 +1,5 @@
+use bevy::ecs::component::Component;
+
+/// Indicates that an entity is **movable**, used for CHMovementPlugins systems to recognize it
+#[derive(Component)]
+pub struct Movement;