mirror of
https://github.com/wassname/phaser.git
synced 2026-08-06 13:31:05 +08:00
Add a postUpdate function to plugins, which is called after World.postUpdate
This commit is contained in:
@@ -50,6 +50,12 @@ Phaser.Plugin = function (game, parent) {
|
||||
* @default
|
||||
*/
|
||||
this.hasUpdate = false;
|
||||
|
||||
/**
|
||||
* @property {boolean} hasPostUpdate - A flag to indicate if this plugin has a postUpdate method.
|
||||
* @default
|
||||
*/
|
||||
this.hasPostUpdate = false;
|
||||
|
||||
/**
|
||||
* @property {boolean} hasRender - A flag to indicate if this plugin has a render method.
|
||||
|
||||
Reference in New Issue
Block a user