diff options
Diffstat (limited to 'src/lunar/structs.rs')
-rw-r--r-- | src/lunar/structs.rs | 14 |
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 |