Skip to content

Instantly share code, notes, and snippets.

@buesing
Created June 28, 2019 10:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save buesing/cc15b097f2233ba51eab4bcbeb608fbc to your computer and use it in GitHub Desktop.
Save buesing/cc15b097f2233ba51eab4bcbeb608fbc to your computer and use it in GitHub Desktop.
setRecords() {
this.statusRecord = this.client.record.getRecord(`${this.GAME_ID}-status`);
this.paddle1Record = this.client.record.getRecord(`${this.GAME_ID}-paddle1`);
this.paddle2Record = this.client.record.getRecord(`${this.GAME_ID}-paddle2`);
this.hitRecord = this.client.record.getRecord(`${this.GAME_ID}-hit`);
this.missRecord = this.client.record.getRecord(`${this.GAME_ID}-miss`);
this.pingRecord = this.client.record.getRecord(`${this.GAME_ID}-ping`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment