phaser/v3/src/gameobjects/tilemap/dynamic/TilemapRender.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('./TilemapWebGLRenderer');
}
if (CANVAS_RENDERER)
{
renderCanvas = require('./TilemapCanvasRenderer');
}
2017-06-09 04:00:12 +00:00
module.exports = {
renderWebGL: renderWebGL,
renderCanvas: renderCanvas
2017-06-09 04:00:12 +00:00
};