ed_journals/modules/exobiology/models/spawn_source/
target_system.rs

1
2
3
4
5
6
7
8
9
10
11
use crate::exobiology::models::spawn_source::spawn_source_star::SpawnSourceStar;
use crate::galaxy::PlanetClass;
use serde::Serialize;
use std::collections::{HashMap, HashSet};

#[derive(Debug, Serialize)]
pub struct TargetSystem {
    pub star_system_position: [f32; 3],
    pub planet_classes_in_system: HashSet<PlanetClass>,
    pub stars_in_system: HashMap<u8, SpawnSourceStar>,
}