DebugUtils converted, re-name spaced the Input classes and started on Camera culling.

This commit is contained in:
Richard Davey
2013-08-31 21:50:34 +01:00
parent 70ee753859
commit 22847f6ade
17 changed files with 1736 additions and 359 deletions
+10 -12
View File
@@ -365,15 +365,6 @@ Phaser.StateManager.prototype = {
},
loadRender: function () {
if (this.onLoadRenderCallback)
{
this.onLoadRenderCallback.call(this.callbackContext);
}
},
update: function () {
if (this._created && this.onUpdateCallback)
@@ -401,9 +392,16 @@ Phaser.StateManager.prototype = {
render: function () {
if (this.onRenderCallback)
{
this.onRenderCallback.call(this.callbackContext);
if (this._created && this.onRenderCallback)
{
this.onRenderCallback.call(this.callbackContext);
}
else
{
if (this.onLoadRenderCallback)
{
this.onLoadRenderCallback.call(this.callbackContext);
}
}
},