mirror of
https://github.com/yeslayla/golang-game-framework.git
synced 2025-01-14 04:53:32 +01:00
9 lines
163 B
Go
9 lines
163 B
Go
package input
|
|
|
|
type InputHandler interface {
|
|
IsKeyDown(uint32) bool
|
|
IsKeyJustPressed(uint32) bool
|
|
IsKeyJustReleased(uint32) bool
|
|
Update(delta float64) error
|
|
}
|