summaryrefslogtreecommitdiff
path: root/game/prefabs/pill.js
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2014-09-21 10:31:48 +0200
committerJustin Worthe <justin.worthe@gmail.com>2014-09-21 10:31:48 +0200
commitc508e9ef283a4069ea1af923ca1a241d2c954a1e (patch)
tree930f8ad620fdde4e1668cd1909fc9eaca35fcae1 /game/prefabs/pill.js
parent48049a71ab041d8b109e2a7a12a8439ed3be812a (diff)
Renamed prefab folder
Diffstat (limited to 'game/prefabs/pill.js')
-rw-r--r--game/prefabs/pill.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/game/prefabs/pill.js b/game/prefabs/pill.js
deleted file mode 100644
index 13054b0..0000000
--- a/game/prefabs/pill.js
+++ /dev/null
@@ -1,18 +0,0 @@
-'use strict';
-
-var Pill = function(game, x, y, frame) {
- Phaser.Sprite.call(this, game, x, y, 'pill', frame);
- this.scale = {x: 0.01, y: 0.01};
- this.anchor = {x: 0.5, y: 0.5};
-
- this.score = 1;
-};
-
-Pill.prototype = Object.create(Phaser.Sprite.prototype);
-Pill.prototype.constructor = Pill;
-
-Pill.prototype.getBounds = function() {
- return new Phaser.Rectangle(this.x, this.y, 0.2, 0.2);
-};
-
-module.exports = Pill;