phaser/src/tilemaps/dynamiclayer/DynamicTilemapLayerRender.js

20 lines
370 B
JavaScript
Raw Normal View History

var renderWebGL = require('../../../utils/NOOP');
var renderCanvas = require('../../../utils/NOOP');
if (WEBGL_RENDERER)
{
renderWebGL = require('./DynamicTilemapLayerWebGLRenderer');
}
if (CANVAS_RENDERER)
{
renderCanvas = require('./DynamicTilemapLayerCanvasRenderer');
}
2017-06-09 04:00:12 +00:00
module.exports = {
renderWebGL: renderWebGL,
renderCanvas: renderCanvas
2017-06-09 04:00:12 +00:00
};