chore: refactor structure

This commit is contained in:
Ilia Denisov
2025-11-21 21:40:15 +03:00
parent 126f381b04
commit 269de2184c
72 changed files with 512 additions and 393 deletions
+11
View File
@@ -0,0 +1,11 @@
package game
import "iter"
func (g *Game) CreateShips(ri int, shipTypeName string, planetNumber int, quantity int) error {
return g.createShips(ri, shipTypeName, planetNumber, quantity)
}
func (g Game) ListShipGroups(ri int) iter.Seq2[int, ShipGroup] {
return g.listShipGroups(ri)
}