Neo-Poseidon/game/star.rs

15 lines
258 B
Rust
Raw Normal View History

2019-05-08 01:36:04 +02:00
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
}