summaryrefslogtreecommitdiff
path: root/game/prefabs/wall.js
blob: 4b4b42a9366f71ff33aee3de89f026b0a77b6c5a (plain)
1
2
3
4
5
6
7
8
9
10
'use strict';

var Wall = function(game, x, y, frame) {
  Phaser.Sprite.call(this, game, x, y, 'wall', frame);
};

Wall.prototype = Object.create(Phaser.Sprite.prototype);
Wall.prototype.constructor = Wall;

module.exports = Wall;