UNPKG

phaser

Version:

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

10 lines (9 loc) 359 B
/** * @callback Phaser.Types.GameObjects.Particles.DeathZoneSourceCallback * @since 3.0.0 * * @param {number} x - The x coordinate of the particle to check against this source area. * @param {number} y - The y coordinate of the particle to check against this source area. * * @return {boolean} - True if the coordinates are within the source area. */