1
0
Fork 0

feat(gameover): play gameover sound

This commit is contained in:
Henrik Hautakoski 2025-09-24 18:41:16 +02:00
parent 9f055c6bb8
commit dcad4ad0a5

View file

@ -1,6 +1,8 @@
package handlers package handlers
import ( import (
"tetris/assets"
"tetris/engine/audio"
"tetris/engine/render" "tetris/engine/render"
"tetris/game/state" "tetris/game/state"
@ -10,6 +12,7 @@ import (
type GameOver struct{} type GameOver struct{}
func (GameOver) Enter() { func (GameOver) Enter() {
audio.Play(assets.SFX_GAME_OVER)
} }
func (GameOver) Exit() { func (GameOver) Exit() {