2019-01-23 21:04:52 +01:00
|
|
|
enum Race {
|
|
|
|
Griffin,
|
2019-01-24 01:43:57 +01:00
|
|
|
Catte
|
2019-01-23 21:04:52 +01:00
|
|
|
}
|
|
|
|
|
2019-01-24 01:43:57 +01:00
|
|
|
struct ResearchItem {
|
|
|
|
levels: u8,
|
|
|
|
points: u16
|
2019-01-23 21:04:52 +01:00
|
|
|
}
|
|
|
|
|
2019-01-24 01:43:57 +01:00
|
|
|
struct Research {
|
|
|
|
Weapons: ResearchItem
|
|
|
|
Banking: ResearchItem,
|
|
|
|
Manufactoring: ResearchItem,
|
|
|
|
Terraforming: ResearchItem,
|
|
|
|
Hyperspace: ResearchItem,
|
|
|
|
Experimentation: ResearchItem,
|
|
|
|
Scanning: ResearchItem
|
2019-01-23 21:04:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
struct Player {
|
|
|
|
Name: String,
|
|
|
|
Color: (u8, u8, u8),
|
|
|
|
Race: Race,
|
2019-01-24 01:43:57 +01:00
|
|
|
Research
|
2019-01-23 21:04:52 +01:00
|
|
|
}
|