feat: voting procedures
This commit is contained in:
@@ -41,6 +41,10 @@ type PlanetReportForeign struct {
|
||||
PlanetReport
|
||||
}
|
||||
|
||||
func (p Planet) Votes() float64 {
|
||||
return p.Population / 1000.
|
||||
}
|
||||
|
||||
// Производственный потенциал
|
||||
func (p Planet) ProductionCapacity() float64 {
|
||||
return PlanetProduction(p.Industry, p.Population)
|
||||
|
||||
Reference in New Issue
Block a user