mirror of
https://github.com/yeslayla/golang-game-framework.git
synced 2025-12-06 09:13:24 +01: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