remove unused function call

This commit is contained in:
crgimenes
2024-04-06 18:40:22 -03:00
parent 0b3da381f5
commit ad26c36ac7

View File

@@ -48,6 +48,7 @@ const (
)
var (
loaded = false
mSprite map[string]*ebiten.Image
mSound map[string][]byte
@@ -77,8 +78,6 @@ func playSound(sound []byte) {
currentplayer.Play()
}
var loaded = false
func (m *neko) Update() error {
m.count++
if m.state == 10 && m.count == m.min {
@@ -89,7 +88,6 @@ func (m *neko) Update() error {
m.x = max(0, min(m.x, monitorWidth))
m.y = max(0, min(m.y, monitorHeight))
ebiten.SetWindowPosition(m.x, m.y)
ebiten.SetWindowFloating(true)
mx, my := ebiten.CursorPosition()
x := mx - (height / 2)