game: multiplayer: work
This commit is contained in:
@ -71,6 +71,7 @@ export default class PongOnlineView extends AbstractAuthenticatedView
|
||||
myPlayer.score,
|
||||
myPlayer.rail,
|
||||
myPlayer.position,
|
||||
myPlayer.isEliminated
|
||||
);
|
||||
|
||||
myPlayer = this.myPlayer;
|
||||
@ -87,7 +88,6 @@ export default class PongOnlineView extends AbstractAuthenticatedView
|
||||
|
||||
keyPressHandler(event)
|
||||
{
|
||||
console.log("bozo")
|
||||
if (!this.keysPressed.includes(event.key))
|
||||
this.keysPressed.push(event.key);
|
||||
}
|
||||
|
Reference in New Issue
Block a user