refactor: group launched/in_space state

This commit is contained in:
Ilia Denisov
2026-02-08 19:29:38 +02:00
parent 077c0999d2
commit b928bb2976
14 changed files with 43 additions and 62 deletions
+7
View File
@@ -99,6 +99,8 @@ var (
BadEntityName = "Bad(entitty)Name"
UnknownRace = "UnknownRace"
InSpace = game.InSpace{Origin: 2, X: floatRef(1.23), Y: floatRef(1.23)}
)
// [ ] Delete this fake test
@@ -153,3 +155,8 @@ func newCache() (*controller.Cache, *controller.Controller) {
return c, ctl
}
func floatRef(v float64) *game.Float {
f := game.Float(v)
return &f
}