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-08-20 15:57:28 +0200
commit4a3cc2211062deeae5aa1c6cefaed772ba44efc3 (patch)
tree740b216ada9d27a9f5d8c2bcf6c756c18ffea0c5 /go/game/map.go
parentc6c0d42964c73c6b8eac656c401939a7fef5bbe8 (diff)
downloadmuhqs-game-4a3cc2211062deeae5aa1c6cefaed772ba44efc3.tar.gz
muhqs-game-4a3cc2211062deeae5aa1c6cefaed772ba44efc3.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)
}
}