mirror of
https://github.com/wassname/phaser.git
synced 2026-07-25 13:20:14 +08:00
The entire Phaser library has been updated to match the new JSHint configuration.
This commit is contained in:
@@ -172,10 +172,10 @@ Phaser.StateManager.prototype = {
|
||||
},
|
||||
|
||||
/**
|
||||
* Delete the given state.
|
||||
* @method Phaser.StateManager#remove
|
||||
* @param {string} key - A unique key you use to reference this state, i.e. "MainMenu", "Level1".
|
||||
*/
|
||||
* Delete the given state.
|
||||
* @method Phaser.StateManager#remove
|
||||
* @param {string} key - A unique key you use to reference this state, i.e. "MainMenu", "Level1".
|
||||
*/
|
||||
remove: function (key) {
|
||||
|
||||
if (this.current == key)
|
||||
|
||||
Reference in New Issue
Block a user