mirror of
https://github.com/photonstorm/phaser
synced 2024-11-25 14:10:42 +00:00
Factory.staticBody
had the wrong return type in the docs/TS defs. Fix #6693
This commit is contained in:
parent
81d985b7ef
commit
786a3933cd
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ var Factory = new Class({
|
|||
* @param {number} [width=64] - The width of the Body in pixels. Cannot be negative or zero.
|
||||
* @param {number} [height=64] - The height of the Body in pixels. Cannot be negative or zero.
|
||||
*
|
||||
* @return {Phaser.Physics.Arcade.Body} The Body that was created.
|
||||
* @return {Phaser.Physics.Arcade.StaticBody} The Static Body that was created.
|
||||
*/
|
||||
staticBody: function (x, y, width, height)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue