Neo-Poseidon/game/star.rs

15 lines
258 B
Rust

struct Infrastructre {
factory: u16,
lab: u16,
bank: u16
}
pub struct Star {
ownerID: Option<u8>,
location: (u16, u16),
name: String,
natural_resources: u16,
infrastructre: Infrastructre,
hypergate: bool,
ships: u16
}