workadventure/front/src/Phaser
David Négrier d785a8a1bf Refactoring connection to be part of a GameScene
Most of the refactoring issues we are seeing are probably due to the fact that we are trying to manipulate a ScenePlugin out of a Scene (the GameManager is not a Scene and holds a reference to a ScenePlugin coming from a Scene that might get invalidated by Phaser 3).
Furthermore, if we want in the future to be able to scale, scenes could be hosted on different servers. Therefore, it makes no sense to have one connexion for the whole application.
Instead, we should have one connexion for each scene.
2020-06-22 11:58:07 +02:00
..
Components Finishing removing any reference to "any" in the front. 2020-06-19 16:36:40 +02:00
Entity Finishing removing any reference to "any" in the front. 2020-06-19 16:36:40 +02:00
Game Refactoring connection to be part of a GameScene 2020-06-22 11:58:07 +02:00
Login Refactoring connection to be part of a GameScene 2020-06-22 11:58:07 +02:00
Map Finishing removing any reference to "any" in the front. 2020-06-19 16:36:40 +02:00
Player Fixing use const instead of let 2020-06-19 14:30:34 +02:00
Reconnecting Finishing removing any reference to "any" in the front. 2020-06-19 16:36:40 +02:00
UserInput Removing any in the front 2020-06-19 14:30:34 +02:00