mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Removed State.destroy empty method and replaced with State.shutdown, as that is what the StateManager expects (fix #586)
This commit is contained in:
parent
3ebd0d9303
commit
a8502f3498
2 changed files with 4 additions and 3 deletions
|
@ -70,6 +70,7 @@ Bug Fixes
|
|||
Updated:
|
||||
|
||||
* Updated Device.isConsoleOpen as it no longer works in Chrome. Revised code and documentation accordingly (fix #593)
|
||||
* Removed State.destroy empty method and replaced with State.shutdown, as that is what the StateManager expects (fix #586)
|
||||
|
||||
|
||||
TODO:
|
||||
|
|
|
@ -162,10 +162,10 @@ Phaser.State.prototype = {
|
|||
},
|
||||
|
||||
/**
|
||||
* This method will be called when the state is destroyed.
|
||||
* @method Phaser.State#destroy
|
||||
* This method will be called when the state is shut down (i.e. you switch to another state from this one).
|
||||
* @method Phaser.State#shutdown
|
||||
*/
|
||||
destroy: function () {
|
||||
shutdown: function () {
|
||||
}
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue