Skip to content

v2.1.0

Compare
Choose a tag to compare
@Cazka Cazka released this 30 Jan 22:34
· 69 commits to main since this release
d0c6af7

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)