remove unused function call
This commit is contained in:
4
main.go
4
main.go
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user