phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.
23 lines (21 loc) • 820 B
JavaScript
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Camera Flash Start Event.
*
* This event is dispatched by a Camera instance when the Flash Effect starts.
*
* @event Phaser.Cameras.Scene2D.Events#FLASH_START
* @since 3.3.0
*
* @param {Phaser.Cameras.Scene2D.Camera} camera - The camera that the effect began on.
* @param {Phaser.Cameras.Scene2D.Effects.Flash} effect - A reference to the effect instance.
* @param {number} duration - The duration of the effect.
* @param {number} red - The red color channel value.
* @param {number} green - The green color channel value.
* @param {number} blue - The blue color channel value.
*/
module.exports = 'cameraflashstart';