aboutsummaryrefslogtreecommitdiff
path: root/go/game/map.go
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2025-07-22 18:36:07 -0400
committerFlorian Fischer <florian.fischer@muhq.space>2025-07-24 12:22:10 -0400
commit6fe364a2d759d5da1327eb30fc4cc8e682d46908 (patch)
treebc30e50d12a90290f46e8290b1d5c2ee0d70b762 /go/game/map.go
parent43306199e6405f08ff1446b1bd8c6fb8850f465f (diff)
downloadmuhqs-game-6fe364a2d759d5da1327eb30fc4cc8e682d46908.tar.gz
muhqs-game-6fe364a2d759d5da1327eb30fc4cc8e682d46908.zip
minor cleanup removing debug prints
Diffstat (limited to 'go/game/map.go')
-rw-r--r--go/game/map.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/game/map.go b/go/game/map.go
index 54071933..d918d87d 100644
--- a/go/game/map.go
+++ b/go/game/map.go
@@ -32,6 +32,7 @@ type MapYml struct {
}
type Map struct {
+ // Tile slices of rows containing the individual tiles.
Tiles [][]Tile
symbols map[string]string
ResourceGain int
@@ -103,7 +104,6 @@ func ParseMap(data []byte) (*Map, error) {
owner := s.PlayerById(i + 1)
// TODO: Fix position index base.
pos := Position{kingPos[0] - 1, kingPos[1] - 1}
- log.Println(card, pos, owner)
s.addNewUnit(card, pos, owner)
}
}