lightyear
lightyear copied to clipboard
Store each ServerConnection in an entity
Attempts to solve https://github.com/cBournhonesque/lightyear/issues/263
Issues:
- everything in the parallel closure must be clone:
- can use Rc<> for netservers.client_server_map since each client will only connect via one method
- for room-manager can use Arc<Rwlock> on the new room events
- for the connection_manager.. maybe each connection can also be an entity? :D