blob: 11ca51154362a1e0ed505a060f63773cfe45b6a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
'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};
};
Wall.prototype = Object.create(Phaser.Sprite.prototype);
Wall.prototype.constructor = Wall;
module.exports = Wall;
|