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

20 lines
326 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 = {};
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;