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

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

  // initialize your prefab here
};

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

module.exports = Wall;