From d6f9409f785cf5f24c36c06b1968da8bbcdd3be2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nh=C3=A2n?= Date: Mon, 18 Sep 2023 23:32:35 +0700 Subject: [PATCH] remove debug print statement --- states.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/states.go b/states.go index a6cf0e4..3d2e248 100644 --- a/states.go +++ b/states.go @@ -1,7 +1,6 @@ package main import ( - "fmt" "time" "github.com/hajimehoshi/ebiten/v2" @@ -211,13 +210,11 @@ func (s *StateWalk) Update(sm *StateMachine) { return } - oldX := sm.x if s.isLeft { sm.x -= 1 } else { sm.x += 1 } - fmt.Println(oldX, "->", sm.x) } func (s *StateWalk) EndAnimHook(sm *StateMachine) { if randBool(StopChance) {