Created
August 13, 2018 17:39
-
-
Save MikeShi42/a32d37b3fe1b4adcf873d5e89dd4b04a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sendRemoteMove(grid, metadata) { | |
if (!this.remotePlayer) { | |
this.socket.emit('actuate', { grid: grid, metadata: metadata }); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment