UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.

22 lines (15 loc) 475 B
/** * @author Benjamin D. Richards <benjamindrichards@gmail.com> * @copyright 2013-2026 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ // The Stamp inherits WebGL rendering properties from the Image class. var NOOP = require('../../utils/NOOP'); var renderCanvas = NOOP; if (typeof CANVAS_RENDERER) { renderCanvas = require('./StampCanvasRenderer'); } module.exports = { renderCanvas: renderCanvas };