Adding an event queue in the GameScene.
Events are processed only in the 'update' method. We hope this will solve a number of null pointer errors. See #194
This commit is contained in:
parent
8467712737
commit
2b820c7d56
3 changed files with 131 additions and 10 deletions
|
@ -22,6 +22,7 @@
|
|||
"@types/simple-peer": "^9.6.0",
|
||||
"@types/socket.io-client": "^1.4.32",
|
||||
"phaser": "^3.22.0",
|
||||
"queue-typescript": "^1.0.1",
|
||||
"simple-peer": "^9.6.2",
|
||||
"socket.io-client": "^2.3.0"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue