planet_generator 0.0.7-pre-alpha

[WIP] Generates data for galaxies, sectors, solar systems, planets and their inhabitants (Check README for features list).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::internal::*;
use crate::prelude::*;
pub mod generator;
pub mod types;

#[derive(Clone, PartialEq, PartialOrd, Debug, Serialize, Deserialize)]
pub struct CelestialBeltDetails {
    /// What kind of belt it is
    pub composition: CelestialBeltType,
}

impl CelestialBeltDetails {
    /// Creates a new [CelestialBeltDetails].
    pub fn new(composition: CelestialBeltType) -> Self {
        Self { composition }
    }
}