v2.1.0
Added:
- player.level: returns the current player level.
- player.tank: returns the current player tank.
- player event: 'level': emitted when player level changes.
- player event: 'tank': emitted when a player tank changes.
Breaking change:
Movement.predictPos now takes the time in ms as input,
Before:
Movement.predictPos(performance.now() + 1000)
Now:
Movement.predictPos(1000)