phaser/src/gameobjects/tilesprite/TileSpriteRender.js

20 lines
346 B
JavaScript
Raw Normal View History

var renderWebGL = require('../../utils/NOOP');
var renderCanvas = require('../../utils/NOOP');
if (WEBGL_RENDERER)
{
renderWebGL = require('./TileSpriteWebGLRenderer');
}
if (CANVAS_RENDERER)
{
renderCanvas = require('./TileSpriteCanvasRenderer');
}
2017-04-25 22:09:13 +00:00
module.exports = {
renderWebGL: renderWebGL,
renderCanvas: renderCanvas
2017-04-25 22:09:13 +00:00
};