You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Restarts the current State. State.shutDown will be called (if it exists) before the State is restarted.
262
+
*
263
+
* @method Phaser.StateManager#restart
264
+
* @param {boolean} [clearWorld=true] - Clear everything in the world? This clears the World display list fully (but not the Stage, so if you've added your own objects to the Stage they will need managing directly)
265
+
* @param {boolean} [clearCache=false] - Clear the Game.Cache? This purges out all loaded assets. The default is false and you must have clearWorld=true if you want to clearCache as well.
266
+
* @param {...*} parameter - Additional parameters that will be passed to the State.init function if it has one.
0 commit comments