refactor: fleet/group AtPlanet
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"maps"
|
||||
|
||||
"github.com/google/uuid"
|
||||
"github.com/iliadenisov/galaxy/internal/number"
|
||||
)
|
||||
|
||||
type Float float64
|
||||
@@ -19,7 +20,7 @@ func (f Float) Add(v float64) Float {
|
||||
}
|
||||
|
||||
func (f Float) F() float64 {
|
||||
return float64(f)
|
||||
return number.Fixed12(float64(f))
|
||||
}
|
||||
|
||||
type TechSet map[Tech]Float
|
||||
|
||||
Reference in New Issue
Block a user