phaser/src/tilemaps/staticlayer/StaticTilemapLayerRender.js

20 lines
362 B
JavaScript
Raw Normal View History

2018-02-07 17:10:01 +00:00
var renderWebGL = require('../../utils/NOOP');
var renderCanvas = require('../../utils/NOOP');
if (WEBGL_RENDERER)
{
renderWebGL = require('./StaticTilemapLayerWebGLRenderer');
}
if (CANVAS_RENDERER)
{
renderCanvas = require('./StaticTilemapLayerCanvasRenderer');
}
2017-06-09 04:00:12 +00:00
module.exports = {
renderWebGL: renderWebGL,
renderCanvas: renderCanvas
2017-06-09 04:00:12 +00:00
};