phaser/v3/src/gameobjects/blitter/Bob.js

22 lines
347 B
JavaScript
Raw Normal View History

2017-01-24 12:55:45 +00:00
var Bob = function (blitter, x, y, frame, visible)
{
this.parent = blitter;
this.x = x;
this.y = y;
this.frame = frame;
this.visible = visible;
this.data = {};
2017-02-03 13:11:31 -03:00
};
2017-02-03 13:11:31 -03:00
Bob.prototype = {
reset: function (x, y, frame)
{
this.x = x;
this.y = y;
this.frame = frame;
}
2017-01-24 12:55:45 +00:00
};
module.exports = Bob;