Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/gameobjects/group/Group.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ var Group = new Class({
* The class to create new group members from.
*
* @name Phaser.GameObjects.Group#classType
* @type {Function}
* @type {Phaser.Types.GameObjects.Group.GroupClassTypeConstructor}
* @since 3.0.0
* @default Phaser.GameObjects.Sprite
*/
Expand Down
10 changes: 10 additions & 0 deletions src/gameobjects/group/typedefs/GroupClassTypeConstructor.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* @callback Phaser.Types.GameObjects.Group.GroupClassTypeConstructor
* @since 3.0.0
*
* @param {Phaser.Scene} scene - The Scene to which this Game Object belongs.
* @param {number} x - The horizontal position of this Game Object in the world.
* @param {number} y - The vertical position of this Game Object in the world.
* @param {(string|Phaser.Textures.Texture)} texture - The key, or instance of the Texture this Game Object will use to render with, as stored in the Texture Manager.
* @param {(string|number)} [frame] - An optional frame from the Texture this Game Object is rendering with.
*/
2 changes: 1 addition & 1 deletion src/gameobjects/particles/ParticleEmitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ var ParticleEmitter = new Class({
* The Particle Class which will be emitted by this Emitter.
*
* @name Phaser.GameObjects.Particles.ParticleEmitter#particleClass
* @type {Phaser.GameObjects.Particles.Particle}
* @type {Phaser.Types.GameObjects.Particles.ParticleClassConstructor}
* @default Phaser.GameObjects.Particles.Particle
* @since 3.0.0
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/**
* @callback Phaser.Types.GameObjects.Particles.ParticleClassConstructor
* @since 3.0.0
*
* @param {Phaser.GameObjects.Particles.ParticleEmitter} emitter - The Emitter to which this Particle belongs.
*/

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/physics/arcade/PhysicsGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ var PhysicsGroup = new Class({
* This should be either `Phaser.Physics.Arcade.Image`, `Phaser.Physics.Arcade.Sprite`, or a class extending one of those.
*
* @name Phaser.Physics.Arcade.Group#classType
* @type {Function}
* @type {Phaser.Types.GameObjects.Group.GroupClassTypeConstructor}
* @default ArcadeSprite
* @since 3.0.0
*/
Expand Down