Neo-Poseidon/Player.rs

26 lines
415 B
Rust

enum Race {
Griffin,
Catte
}
struct ResearchItem {
levels: u8,
points: u16
}
struct Research {
Weapons: ResearchItem
Banking: ResearchItem,
Manufactoring: ResearchItem,
Terraforming: ResearchItem,
Hyperspace: ResearchItem,
Experimentation: ResearchItem,
Scanning: ResearchItem
}
struct Player {
Name: String,
Color: (u8, u8, u8),
Race: Race,
Research
}