summaryrefslogtreecommitdiff
path: root/game/prefabs/wall.js
blob: c4eee798c52b004d40834409b040dce78cb004f0 (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);
  this.scale = {x: 0.01, y: 0.01};
  this.anchor = {x: 0.5, y: 0.5};
};

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

module.exports = Wall;