!function(){function i(i){i||(i={});i.anchorPoint||(i.anchorPoint={x:0,y:0});var t=i.fill,e=i.size.width,o=i.size.height,s=qyengine.getTextureFromFill(t,e,o);PIXI.TilingSprite.call(this,s,e,o);this.minTimeDelta=null!=i.minTimeDelta?i.minTimeDelta:.1;this.setSpeed(i.background_speed||0);this.tileScale.x=e/s.width;this.tileScale.y=o/s.height}inherits(i,PIXI.TilingSprite);i.prototype.moveBySpeed=function(i){this.tilePosition.x=(this.tilePosition.x+i*this.speed_.x/this.tileScale.x)%this.width;this.tilePosition.y=(this.tilePosition.y+i*this.speed_.y/this.tileScale.y)%this.height};i.prototype.setSpeed=QySprite.prototype.setSpeed;i.prototype.moveBy=function(i,t){this.tilePosition.x+=i/this.tileScale.x;this.tilePosition.y+=t/this.tileScale.y};window.QyBackground=i;i.prototype.isBG=!0}();