Add delta value between frames

This commit is contained in:
2022-10-24 06:42:58 -04:00
parent 987ef9502f
commit 9ccd2cf2cb
12 changed files with 32 additions and 23 deletions

View File

@ -4,5 +4,5 @@ type InputHandler interface {
IsKeyDown(uint) bool
IsKeyJustPressed(uint) bool
IsKeyJustReleased(uint) bool
Update() error
Update(delta float64) error
}