Breaking out source into separate files
Get rid of backup files Refactored source out into multiple files
This commit is contained in:
16
moonlight/src/main.js
Normal file
16
moonlight/src/main.js
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
var pathfinder = null;
|
||||
var pathfinder_grid = null;
|
||||
|
||||
var game = new Phaser.Game(640, 480, Phaser.AUTO, '');
|
||||
|
||||
game.state.add('boot', Boot, false);
|
||||
game.state.add('preloader', Preloader, false);
|
||||
game.state.add('game', GameState, false);
|
||||
|
||||
game.state.start('boot');
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user