Cazka / diepAPI

An API for https://diep.io
MIT License
15 stars 8 forks source link

Movement.predictPos(time) now takes the time in ms as input #20

Closed Cazka closed 2 years ago

Cazka commented 2 years ago

This is a breaking change and will make it easier and more intuitiv to use Movement.predictPos(time) method.

Before: Movement.predictPos(performance.now() + 1000)

Now: Movement.predictPos(1000)