mirror of
https://github.com/yeslayla/golang-game-framework.git
synced 2025-07-07 11:13:47 +02:00
Add delta
value between frames
This commit is contained in:
@ -4,5 +4,5 @@ type InputHandler interface {
|
||||
IsKeyDown(uint) bool
|
||||
IsKeyJustPressed(uint) bool
|
||||
IsKeyJustReleased(uint) bool
|
||||
Update() error
|
||||
Update(delta float64) error
|
||||
}
|
||||
|
Reference in New Issue
Block a user