@@ -402,7 +402,7 @@ var InputPlugin = new Class({
402402 *
403403 * @param {Phaser.GameObjects.GameObject } gameObject - [description]
404404 * @param {object } shape - [description]
405- * @param {function } callback - [description]
405+ * @param {HitAreaCallback } callback - [description]
406406 * @param {boolean } [dropZone=false] - [description]
407407 *
408408 * @return {Phaser.Input.InputPlugin } This Input Plugin.
@@ -1053,7 +1053,7 @@ var InputPlugin = new Class({
10531053 *
10541054 * @param {Phaser.GameObjects.GameObject|Phaser.GameObjects.GameObject[] } gameObjects - An array of Game Objects to set the hit area on.
10551055 * @param {object } [shape] - The shape or object to check if the pointer is within for hit area checks.
1056- * @param {function } [callback] - The 'contains' function to invoke to check if the pointer is within the hit area.
1056+ * @param {HitAreaCallback } [callback] - The 'contains' function to invoke to check if the pointer is within the hit area.
10571057 *
10581058 * @return {Phaser.Input.InputPlugin } This InputPlugin object.
10591059 */
@@ -1091,7 +1091,7 @@ var InputPlugin = new Class({
10911091 * @param {number } x - The center of the circle.
10921092 * @param {number } y - The center of the circle.
10931093 * @param {number } radius - The radius of the circle.
1094- * @param {function } [callback] - The hit area callback. If undefined it uses Circle.Contains.
1094+ * @param {HitAreaCallback } [callback] - The hit area callback. If undefined it uses Circle.Contains.
10951095 *
10961096 * @return {Phaser.Input.InputPlugin } This InputPlugin object.
10971097 */
@@ -1115,7 +1115,7 @@ var InputPlugin = new Class({
11151115 * @param {number } y - The center of the ellipse.
11161116 * @param {number } width - The width of the ellipse.
11171117 * @param {number } height - The height of the ellipse.
1118- * @param {function } [callback] - The hit area callback. If undefined it uses Ellipse.Contains.
1118+ * @param {HitAreaCallback } [callback] - The hit area callback. If undefined it uses Ellipse.Contains.
11191119 *
11201120 * @return {Phaser.Input.InputPlugin } This InputPlugin object.
11211121 */
@@ -1135,7 +1135,7 @@ var InputPlugin = new Class({
11351135 * @since 3.0.0
11361136 *
11371137 * @param {Phaser.GameObjects.GameObject|Phaser.GameObjects.GameObject[] } gameObjects - An array of Game Objects to set as having an ellipse hit area.
1138- * @param {function } [callback] - The hit area callback. If undefined it uses Rectangle.Contains.
1138+ * @param {HitAreaCallback } [callback] - The hit area callback. If undefined it uses Rectangle.Contains.
11391139 *
11401140 * @return {Phaser.Input.InputPlugin } This InputPlugin object.
11411141 */
@@ -1189,7 +1189,7 @@ var InputPlugin = new Class({
11891189 * @param {number } y - The top-left of the rectangle.
11901190 * @param {number } width - The width of the rectangle.
11911191 * @param {number } height - The height of the rectangle.
1192- * @param {function } [callback] - The hit area callback. If undefined it uses Rectangle.Contains.
1192+ * @param {HitAreaCallback } [callback] - The hit area callback. If undefined it uses Rectangle.Contains.
11931193 *
11941194 * @return {Phaser.Input.InputPlugin } This InputPlugin object.
11951195 */
@@ -1215,7 +1215,7 @@ var InputPlugin = new Class({
12151215 * @param {number } y2 - The y coordinate of the second point of the triangle.
12161216 * @param {number } x3 - The x coordinate of the third point of the triangle.
12171217 * @param {number } y3 - The y coordinate of the third point of the triangle.
1218- * @param {function } [callback] - The hit area callback. If undefined it uses Triangle.Contains.
1218+ * @param {HitAreaCallback } [callback] - The hit area callback. If undefined it uses Triangle.Contains.
12191219 *
12201220 * @return {Phaser.Input.InputPlugin } This InputPlugin object.
12211221 */
0 commit comments