Skip to content

Commit 5ca418c

Browse files
committed
1 parent 9fa4d38 commit 5ca418c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

v2-community/src/gameobjects/GameObjectFactory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Phaser.GameObjectFactory.prototype = {
141141
* @param {number} [y=0] - The y coordinate of the creature. The coordinate is relative to any parent container this creature may be in.
142142
* @param {string|PIXI.Texture} [key] - The image used as a texture by this creature object during rendering. If a string Phaser will get for an entry in the Image Cache. Or it can be an instance of a PIXI.Texture.
143143
* @param {Phaser.Group} [group] - Optional Group to add the object to. If not specified it will be added to the World group.
144-
* @returns {Phaser.Creature} The newly created Sprite object.
144+
* @returns {Phaser.Creature} The newly created Creature object.
145145
*/
146146
creature: function (x, y, key, mesh, group) {
147147

0 commit comments

Comments
 (0)