aboutsummaryrefslogtreecommitdiff
path: root/go/client
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-01-20 11:14:43 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2025-01-27 16:43:44 +0100
commitcbed4f79f1f7f90f600ad9d1d711f82c6e09e8e5 (patch)
treed15c0cfacf1c3668e9e19dba197dfbf5fd8c2017 /go/client
parent104300e058b2406e55367d6b05425428cda15115 (diff)
downloadmuhqs-game-cbed4f79f1f7f90f600ad9d1d711f82c6e09e8e5.tar.gz
muhqs-game-cbed4f79f1f7f90f600ad9d1d711f82c6e09e8e5.zip
reformat using gofmtp
Diffstat (limited to 'go/client')
-rw-r--r--go/client/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/go/client/main.go b/go/client/main.go
index ec8fff5e..13a07d0b 100644
--- a/go/client/main.go
+++ b/go/client/main.go
@@ -26,8 +26,7 @@ const (
HOVER_THRESHOLD = 60
)
-type HandLayer struct {
-}
+type HandLayer struct{}
func (l *HandLayer) Draw(screen *ebiten.Image) {
cardImg := assets.GetCard("base/archer", "en")
@@ -56,6 +55,7 @@ func (h *hoverDetector) update(x, y int) {
h.reset()
}
}
+
func (h *hoverDetector) reset() {
h.ticks = 0
if h.resetFunc != nil {