You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/physics/matter-js/PhysicsEditorParser.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ var PhysicsEditorParser = {
32
32
* @param {object} config - The body configuration and fixture (child body) definitions, as exported by PhysicsEditor.
33
33
* @param {Phaser.Types.Physics.Matter.MatterBodyConfig} [options] - An optional Body configuration object that is used to set initial Body properties on creation.
34
34
*
35
-
* @return {MatterJS.Body} A compound Matter JS Body.
35
+
* @return {MatterJS.BodyType} A compound Matter JS Body.
36
36
*/
37
37
parseBody: function(x,y,config,options)
38
38
{
@@ -75,7 +75,7 @@ var PhysicsEditorParser = {
75
75
*
76
76
* @param {object} fixtureConfig - The fixture object to parse.
77
77
*
78
-
* @return {MatterJS.Body[]} - An array of Matter JS Bodies.
78
+
* @return {MatterJS.BodyType[]} - An array of Matter JS Bodies.
79
79
*/
80
80
parseFixture: function(fixtureConfig)
81
81
{
@@ -110,7 +110,7 @@ var PhysicsEditorParser = {
110
110
* @param {array} vertexSets - The vertex lists to parse.
111
111
* @param {Phaser.Types.Physics.Matter.MatterBodyConfig} [options] - An optional Body configuration object that is used to set initial Body properties on creation.
112
112
*
113
-
* @return {MatterJS.Body[]} - An array of Matter JS Bodies.
113
+
* @return {MatterJS.BodyType[]} - An array of Matter JS Bodies.
Copy file name to clipboardExpand all lines: src/physics/matter-js/PhysicsJSONParser.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ var PhysicsJSONParser = {
61
61
* @param {object} config - The body configuration data.
62
62
* @param {Phaser.Types.Physics.Matter.MatterBodyConfig} [options] - An optional Body configuration object that is used to set initial Body properties on creation.
0 commit comments