diff options
Diffstat (limited to 'go/client')
| -rw-r--r-- | go/client/main.go | 4 |
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 { |
