mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
jsdoc updates.
This commit is contained in:
parent
78fdb224ce
commit
a56cd31638
2 changed files with 3 additions and 3 deletions
|
@ -108,7 +108,7 @@ Phaser.Key = function (game, keycode) {
|
||||||
this.onHoldContext = null;
|
this.onHoldContext = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @property {Phaser.Signal} onUp - This Signal is dispatched every time this Key is pressed down. It is only dispatched once (until the key is released again).
|
* @property {Phaser.Signal} onUp - This Signal is dispatched every time this Key is released. It is only dispatched once (until the key is pressed and released again).
|
||||||
*/
|
*/
|
||||||
this.onUp = new Phaser.Signal();
|
this.onUp = new Phaser.Signal();
|
||||||
|
|
||||||
|
|
|
@ -326,8 +326,8 @@ Phaser.Physics.Arcade.prototype = {
|
||||||
* @method Phaser.Physics.Arcade#overlap
|
* @method Phaser.Physics.Arcade#overlap
|
||||||
* @param {Phaser.Sprite|Phaser.Group|Phaser.Particles.Emitter|array} object1 - The first object or array of objects to check. Can be Phaser.Sprite, Phaser.Group or Phaser.Particles.Emitter.
|
* @param {Phaser.Sprite|Phaser.Group|Phaser.Particles.Emitter|array} object1 - The first object or array of objects to check. Can be Phaser.Sprite, Phaser.Group or Phaser.Particles.Emitter.
|
||||||
* @param {Phaser.Sprite|Phaser.Group|Phaser.Particles.Emitter|array} object2 - The second object or array of objects to check. Can be Phaser.Sprite, Phaser.Group or Phaser.Particles.Emitter.
|
* @param {Phaser.Sprite|Phaser.Group|Phaser.Particles.Emitter|array} object2 - The second object or array of objects to check. Can be Phaser.Sprite, Phaser.Group or Phaser.Particles.Emitter.
|
||||||
* @param {function} [overlapCallback=null] - An optional callback function that is called if the objects overlap. The two objects will be passed to this function in the same order in which you specified them. The two objects will be passed to this function in the same order in which you specified them, unless you are checking Group vs. Sprite, in which case Sprite will always be the first parameter.
|
* @param {function} [overlapCallback=null] - An optional callback function that is called if the objects overlap. The two objects will be passed to this function in the same order in which you specified them, unless you are checking Group vs. Sprite, in which case Sprite will always be the first parameter.
|
||||||
* @param {function} [processCallback=null] - A callback function that lets you perform additional checks against the two objects if they overlap. If this is set then overlapCallback will only be called if processCallback returns true.
|
* @param {function} [processCallback=null] - A callback function that lets you perform additional checks against the two objects if they overlap. If this is set then `overlapCallback` will only be called if this callback returns `true`.
|
||||||
* @param {object} [callbackContext] - The context in which to run the callbacks.
|
* @param {object} [callbackContext] - The context in which to run the callbacks.
|
||||||
* @return {boolean} True if an overlap occurred otherwise false.
|
* @return {boolean} True if an overlap occurred otherwise false.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue