Renamed prefab folder
authorJustin Worthe <justin.worthe@gmail.com>
Sun, 21 Sep 2014 08:31:48 +0000 (10:31 +0200)
committerJustin Worthe <justin.worthe@gmail.com>
Sun, 21 Sep 2014 08:31:48 +0000 (10:31 +0200)
game/entities/bonusPill.js [moved from game/prefabs/bonusPill.js with 100% similarity]
game/entities/hud.js [moved from game/prefabs/hud.js with 100% similarity]
game/entities/pill.js [moved from game/prefabs/pill.js with 100% similarity]
game/entities/player.js [moved from game/prefabs/player.js with 100% similarity]
game/entities/poisonPill.js [moved from game/prefabs/poisonPill.js with 100% similarity]
game/entities/wall.js [moved from game/prefabs/wall.js with 100% similarity]
game/states/play.js

similarity index 100%
rename from game/prefabs/hud.js
rename to game/entities/hud.js
similarity index 100%
rename from game/prefabs/pill.js
rename to game/entities/pill.js
similarity index 100%
rename from game/prefabs/wall.js
rename to game/entities/wall.js
index 5151438..d872c71 100644 (file)
@@ -1,17 +1,15 @@
 'use strict';
 
-var Player = require('../prefabs/player');
-var Pill = require('../prefabs/pill');
-var BonusPill = require('../prefabs/bonusPill');
-var Wall = require('../prefabs/wall');
-var PoisonPill = require('../prefabs/poisonPill');
-var Hud = require('../prefabs/hud');
+var Player = require('../entities/player');
+var Pill = require('../entities/pill');
+var BonusPill = require('../entities/bonusPill');
+var Wall = require('../entities/wall');
+var PoisonPill = require('../entities/poisonPill');
+var Hud = require('../entities/hud');
 
 function Play() {}
 
 Play.prototype = {
-  preload: function() {
-  },
   create: function() {
     this.readLevelFile();