Repos / shark / d6f9409f78
commit d6f9409f785cf5f24c36c06b1968da8bbcdd3be2
Author: Nhân <hi@imnhan.com>
Date: Mon Sep 18 23:32:35 2023 +0700
remove debug print statement
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) {