MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King /

Class

Player.js:19–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17let mutePlayers = true;
18
19class PlayerState {
20 constructor() {
21 this.currentPos = createVector(width / 2, height - 200); // this is the top left corner of the hitbox
22 this.currentSpeed = createVector(0, 0);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected