feat(gameover): play gameover sound
This commit is contained in:
parent
9f055c6bb8
commit
dcad4ad0a5
1 changed files with 3 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
package handlers
|
||||
|
||||
import (
|
||||
"tetris/assets"
|
||||
"tetris/engine/audio"
|
||||
"tetris/engine/render"
|
||||
"tetris/game/state"
|
||||
|
||||
|
|
@ -10,6 +12,7 @@ import (
|
|||
type GameOver struct{}
|
||||
|
||||
func (GameOver) Enter() {
|
||||
audio.Play(assets.SFX_GAME_OVER)
|
||||
}
|
||||
|
||||
func (GameOver) Exit() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue