Created
March 30, 2015 05:40
-
-
Save netcell/f9b6be20417cb2ea6e66 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//... | |
, game = new Phaser.Game(properties.size.x, properties.size.y, Phaser.AUTO, 'game'); | |
// Automatically register each state. | |
_.each(states, function(state, key) { | |
game.state.add(key, state(game)); | |
}); | |
//... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment