mirror of
https://github.com/yeslayla/golang-game-framework.git
synced 2025-07-07 11:13:47 +02:00
Simple keyboard input & pause system
This commit is contained in:
8
input/input_handler.go
Normal file
8
input/input_handler.go
Normal file
@ -0,0 +1,8 @@
|
||||
package input
|
||||
|
||||
type InputHandler interface {
|
||||
IsKeyDown(uint) bool
|
||||
IsKeyJustPressed(uint) bool
|
||||
IsKeyJustReleased(uint) bool
|
||||
Update() error
|
||||
}
|
Reference in New Issue
Block a user