@@ -104,7 +104,7 @@ var Factory = new Class({
104104 * @param {Phaser.GameObjects.GameObject } gameObject - A Game Object.
105105 * @param {boolean } [isStatic=false] - Create a Static body (true) or Dynamic body (false).
106106 *
107- * @return {Phaser.GameObjects.GameObject } The Game Object.
107+ * @return {Phaser.Types.Physics.Arcade.GameObjectWithBody } The Game Object.
108108 */
109109 existing : function ( gameObject , isStatic )
110110 {
@@ -126,7 +126,7 @@ var Factory = new Class({
126126 * @param {string } texture - The key of the Texture this Game Object will use to render with, as stored in the Texture Manager.
127127 * @param {(string|integer) } [frame] - An optional frame from the Texture this Game Object is rendering with.
128128 *
129- * @return {Phaser.Physics.Arcade.Image } The Image object that was created.
129+ * @return {Phaser.Types. Physics.Arcade.ImageWithStaticBody } The Image object that was created.
130130 */
131131 staticImage : function ( x , y , key , frame )
132132 {
@@ -150,7 +150,7 @@ var Factory = new Class({
150150 * @param {string } texture - The key of the Texture this Game Object will use to render with, as stored in the Texture Manager.
151151 * @param {(string|integer) } [frame] - An optional frame from the Texture this Game Object is rendering with.
152152 *
153- * @return {Phaser.Physics.Arcade.Image } The Image object that was created.
153+ * @return {Phaser.Types. Physics.Arcade.ImageWithDynamicBody } The Image object that was created.
154154 */
155155 image : function ( x , y , key , frame )
156156 {
@@ -174,7 +174,7 @@ var Factory = new Class({
174174 * @param {string } texture - The key of the Texture this Game Object will use to render with, as stored in the Texture Manager.
175175 * @param {(string|integer) } [frame] - An optional frame from the Texture this Game Object is rendering with.
176176 *
177- * @return {Phaser.Physics.Arcade.Sprite } The Sprite object that was created.
177+ * @return {Phaser.Types. Physics.Arcade.SpriteWithStaticBody } The Sprite object that was created.
178178 */
179179 staticSprite : function ( x , y , key , frame )
180180 {
@@ -199,7 +199,7 @@ var Factory = new Class({
199199 * @param {string } key - The key of the Texture this Game Object will use to render with, as stored in the Texture Manager.
200200 * @param {(string|integer) } [frame] - An optional frame from the Texture this Game Object is rendering with.
201201 *
202- * @return {Phaser.Physics.Arcade.Sprite } The Sprite object that was created.
202+ * @return {Phaser.Types. Physics.Arcade.SpriteWithDynamicBody } The Sprite object that was created.
203203 */
204204 sprite : function ( x , y , key , frame )
205205 {
0 commit comments