To switch the current scene to another, you write this in your current scene's code:
this.manager.switch(new YourState());
There was an error while loading. Please reload this page.