Neo-Poseidon/game/star.rs

15 lines
261 B
Rust

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