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

8
input/input_handler.go Normal file
View File

@ -0,0 +1,8 @@
package input
type InputHandler interface {
IsKeyDown(uint) bool
IsKeyJustPressed(uint) bool
IsKeyJustReleased(uint) bool
Update() error
}