summaryrefslogtreecommitdiff
path: root/src/lunar/structs.rs
diff options
context:
space:
mode:
authorstvnliu@homelab <stvnliu.lab@gmail.com>2025-03-20 15:20:36 +0200
committerstvnliu@homelab <stvnliu.lab@gmail.com>2025-03-20 15:20:36 +0200
commit221434eafec46c6e1974d40f17893fee379cead8 (patch)
treeceeee167f3dc341b92a10d49664e02894d8813f4 /src/lunar/structs.rs
parentb363b791696a045400a8e1f9fd58637ff7e7f4e2 (diff)
downloadmartian-rescue-rs-221434eafec46c6e1974d40f17893fee379cead8.tar.gz
martian-rescue-rs-221434eafec46c6e1974d40f17893fee379cead8.tar.bz2
martian-rescue-rs-221434eafec46c6e1974d40f17893fee379cead8.zip
refactor: updated project structure, set up PLAN
Diffstat (limited to 'src/lunar/structs.rs')
-rw-r--r--src/lunar/structs.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lunar/structs.rs b/src/lunar/structs.rs
new file mode 100644
index 0000000..61b3a66
--- /dev/null
+++ b/src/lunar/structs.rs
@@ -0,0 +1,14 @@
+use bevy::ecs::component::Component;
+
+#[derive(Component)]
+pub struct DestPlanet {
+ // pub display_name: String,
+ pub planet_mass_kg: f32,
+ pub radius: f32,
+}
+#[derive(Component)]
+pub struct LunarOrbitalData {
+ pub period: f32,
+ pub orbital_velocity: f32,
+ pub orbital_radius: f32,
+} \ No newline at end of file