Skip to content

Commit

Permalink
remove debug print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
nhanb committed Sep 18, 2023
1 parent 7c17bc9 commit d6f9409
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions states.go
@@ -1,7 +1,6 @@
package main

import (
"fmt"
"time"

"github.com/hajimehoshi/ebiten/v2"
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit d6f9409

Please sign in to comment.