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
+3 -1
View File
@@ -198,9 +198,11 @@ func TestShipGroupEqual(t *testing.T) {
assert.False(t, left.Equal(right))
right = *left
coord := game.Float(1)
left.StateInSpace = &game.InSpace{
Origin: 1,
Range: 1,
X: &coord,
Y: &coord,
}
assert.False(t, left.Equal(right))