mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 19:43:28 +00:00
10 lines
230 B
JavaScript
10 lines
230 B
JavaScript
|
|
var SpriteCanvasRenderer = function (renderer, src, interpolationPercentage, camera)
|
|
{
|
|
if (this.renderMask === this.renderFlags)
|
|
{
|
|
renderer.drawImage(src, camera);
|
|
}
|
|
};
|
|
|
|
module.exports = SpriteCanvasRenderer;
|