From 373e5f472f829714939103617cfe14e98d981b18 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Sun, 21 Sep 2014 08:00:06 +0200 Subject: Removed unused states and templating of main.js --- templates/_main.js.tpl | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 templates/_main.js.tpl (limited to 'templates/_main.js.tpl') diff --git a/templates/_main.js.tpl b/templates/_main.js.tpl deleted file mode 100644 index 6a559db..0000000 --- a/templates/_main.js.tpl +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -//global variables -window.onload = function () { - var game = new Phaser.Game(<%= gameWidth %>, <%= gameHeight %>, Phaser.AUTO, '<%= _.slugify(projectName) %>'); - - var Orientation = require('./plugins/orientation'); - game.orientation = new Orientation(); - - // Game States - <% _.forEach(gameStates, function(gameState) { %>game.state.add('<%= gameState.shortName %>', require('./states/<%= gameState.shortName %>')); - <% }); %> - - game.state.start('boot'); -}; \ No newline at end of file -- cgit v1.2.3