golang-game-framework/input/input_handler.go

9 lines
144 B
Go

package input
type InputHandler interface {
IsKeyDown(uint) bool
IsKeyJustPressed(uint) bool
IsKeyJustReleased(uint) bool
Update() error
}