Added a new button in settings to turn on and off multiplayer.
Settings.js
created get multiplayerButton which returns a div to be appended to the sidebar
also made it append said button to the side bar
on click the button switches between send/receiving socket messages, and ignoring them; changes text to match
GameControl/GameLevel
moved level loading setup from GameControl's transitionToLevel() to GameLevel's load()
Multiplayer.js
setup for aws (multiple devices)
removeAllListeners() stops listening to all sockets on client
changeStatus() new function for switching between online and offline
Added a new button in settings to turn on and off multiplayer.
Settings.js created get multiplayerButton which returns a div to be appended to the sidebar also made it append said button to the side bar on click the button switches between send/receiving socket messages, and ignoring them; changes text to match
GameControl/GameLevel moved level loading setup from GameControl's transitionToLevel() to GameLevel's load()
Multiplayer.js setup for aws (multiple devices) removeAllListeners() stops listening to all sockets on client changeStatus() new function for switching between online and offline