Simple keyboard input & pause system

This commit is contained in:
2022-07-17 20:19:02 -04:00
parent cb1bdec005
commit 994f9a06c8
12 changed files with 418 additions and 17 deletions

7
sdl/event_handler.go Normal file
View File

@@ -0,0 +1,7 @@
package sdl
import (
"github.com/veandco/go-sdl2/sdl"
)
type SdlEventHandler func(sdl.Event)