phaser/src/gameobjects/rope/RopeCanvasRenderer.js
2022-02-28 14:29:51 +00:00

22 lines
733 B
JavaScript

/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2022 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* This is a stub function for Rope.Render. There is no Canvas renderer for Rope objects.
*
* @method Phaser.GameObjects.Rope#renderCanvas
* @since 3.23.0
* @private
*
* @param {Phaser.Renderer.Canvas.CanvasRenderer} renderer - A reference to the current active Canvas renderer.
* @param {Phaser.GameObjects.Rope} src - The Game Object being rendered in this call.
* @param {Phaser.Cameras.Scene2D.Camera} camera - The Camera that is rendering the Game Object.
*/
var RopeCanvasRenderer = function ()
{
};
module.exports = RopeCanvasRenderer;