refactor: fleet/group AtPlanet

This commit is contained in:
Ilia Denisov
2026-02-05 15:49:51 +02:00
parent e90218368c
commit fef1be577d
7 changed files with 24 additions and 21 deletions
+2 -1
View File
@@ -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