Add a postUpdate function to plugins, which is called after World.postUpdate

This commit is contained in:
Cameron Foale
2013-11-02 17:04:32 +11:00
parent cc42a71c66
commit a96ced0d82
3 changed files with 37 additions and 0 deletions
+6
View File
@@ -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.