StateManager improving in leaps and bounds.

This commit is contained in:
Richard Davey
2013-08-29 14:38:51 +01:00
parent 4bbcc380c5
commit 3d4783980e
9 changed files with 777 additions and 233 deletions
+2 -4
View File
@@ -37,10 +37,8 @@
}
}
var game = new Phaser.Game();
// This method now works either from within a closure or not
game.switchState(state);
// In this example we're passing in a custom state object, not an instance of Phaser.State
var game = new Phaser.Game(800, 600, Phaser.RENDERER_AUTO, '', state);
})();