Skip to content

Commit 91e59ab

Browse files
committed
Update MatterPhysics.js
1 parent 40e798a commit 91e59ab

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

src/physics/matter-js/MatterPhysics.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ var MatterPhysics = new Class({
172172
* Factories for commonly used body configurations (such as rectangles, circles and other polygons) can be found in the `Bodies` module.
173173
*
174174
* @name Phaser.Physics.Matter.MatterPhysics#body
175-
* @type {MatterJS.Body}
175+
* @type {MatterJS.BodyFactory}
176176
* @since 3.18.0
177177
*/
178178
this.body = Body;
@@ -186,7 +186,7 @@ var MatterPhysics = new Class({
186186
* Note that the `Matter.World` object is also a type of `Matter.Composite` and as such all composite methods here can also operate on a `Matter.World`.
187187
*
188188
* @name Phaser.Physics.Matter.MatterPhysics#composite
189-
* @type {MatterJS.Composite}
189+
* @type {MatterJS.CompositeFactory}
190190
* @since 3.22.0
191191
*/
192192
this.composite = Composite;
@@ -199,7 +199,7 @@ var MatterPhysics = new Class({
199199
* The `Matter.Detector` module contains methods for detecting collisions given a set of pairs.
200200
*
201201
* @name Phaser.Physics.Matter.MatterPhysics#detector
202-
* @type {MatterJS.Detector}
202+
* @type {MatterJS.DetectorFactory}
203203
* @since 3.22.0
204204
*/
205205
this.detector = Detector;
@@ -210,7 +210,7 @@ var MatterPhysics = new Class({
210210
* The `Matter.Grid` module contains methods for creating and manipulating collision broadphase grid structures.
211211
*
212212
* @name Phaser.Physics.Matter.MatterPhysics#grid
213-
* @type {MatterJS.Grid}
213+
* @type {MatterJS.GridFactory}
214214
* @since 3.22.0
215215
*/
216216
this.grid = Grid;
@@ -221,7 +221,7 @@ var MatterPhysics = new Class({
221221
* The `Matter.Pair` module contains methods for creating and manipulating collision pairs.
222222
*
223223
* @name Phaser.Physics.Matter.MatterPhysics#pair
224-
* @type {MatterJS.Pair}
224+
* @type {MatterJS.PairFactory}
225225
* @since 3.22.0
226226
*/
227227
this.pair = Pair;
@@ -232,7 +232,7 @@ var MatterPhysics = new Class({
232232
* The `Matter.Pairs` module contains methods for creating and manipulating collision pair sets.
233233
*
234234
* @name Phaser.Physics.Matter.MatterPhysics#pairs
235-
* @type {MatterJS.Pairs}
235+
* @type {MatterJS.PairsFactory}
236236
* @since 3.22.0
237237
*/
238238
this.pairs = Pairs;
@@ -243,7 +243,7 @@ var MatterPhysics = new Class({
243243
* The `Matter.Query` module contains methods for performing collision queries.
244244
*
245245
* @name Phaser.Physics.Matter.MatterPhysics#query
246-
* @type {MatterJS.Query}
246+
* @type {MatterJS.QueryFactory}
247247
* @since 3.22.0
248248
*/
249249
this.query = Query;
@@ -254,7 +254,7 @@ var MatterPhysics = new Class({
254254
* The `Matter.Resolver` module contains methods for resolving collision pairs.
255255
*
256256
* @name Phaser.Physics.Matter.MatterPhysics#resolver
257-
* @type {MatterJS.Resolver}
257+
* @type {MatterJS.ResolverFactory}
258258
* @since 3.22.0
259259
*/
260260
this.resolver = Resolver;
@@ -265,7 +265,7 @@ var MatterPhysics = new Class({
265265
* The `Matter.SAT` module contains methods for detecting collisions using the Separating Axis Theorem.
266266
*
267267
* @name Phaser.Physics.Matter.MatterPhysics#sat
268-
* @type {MatterJS.SAT}
268+
* @type {MatterJS.SATFactory}
269269
* @since 3.22.0
270270
*/
271271
this.sat = SAT;
@@ -280,7 +280,7 @@ var MatterPhysics = new Class({
280280
* The stiffness of constraints can be modified to create springs or elastic.
281281
*
282282
* @name Phaser.Physics.Matter.MatterPhysics#constraint
283-
* @type {MatterJS.Constraint}
283+
* @type {MatterJS.ConstraintFactory}
284284
* @since 3.22.0
285285
*/
286286
this.constraint = Constraint;
@@ -294,7 +294,7 @@ var MatterPhysics = new Class({
294294
* with commonly used body configurations (such as rectangles, circles and other polygons).
295295
*
296296
* @name Phaser.Physics.Matter.MatterPhysics#bodies
297-
* @type {MatterJS.Bodies}
297+
* @type {MatterJS.BodiesFactory}
298298
* @since 3.18.0
299299
*/
300300
this.bodies = Bodies;
@@ -306,7 +306,7 @@ var MatterPhysics = new Class({
306306
* with commonly used configurations (such as stacks and chains).
307307
*
308308
* @name Phaser.Physics.Matter.MatterPhysics#composites
309-
* @type {MatterJS.Composites}
309+
* @type {MatterJS.CompositesFactory}
310310
* @since 3.22.0
311311
*/
312312
this.composites = Composites;
@@ -319,7 +319,7 @@ var MatterPhysics = new Class({
319319
* The `Matter.Axes` module contains methods for creating and manipulating sets of axes.
320320
*
321321
* @name Phaser.Physics.Matter.MatterPhysics#axes
322-
* @type {MatterJS.Axes}
322+
* @type {MatterJS.AxesFactory}
323323
* @since 3.22.0
324324
*/
325325
this.axes = Axes;
@@ -330,7 +330,7 @@ var MatterPhysics = new Class({
330330
* The `Matter.Bounds` module contains methods for creating and manipulating axis-aligned bounding boxes (AABB).
331331
*
332332
* @name Phaser.Physics.Matter.MatterPhysics#bounds
333-
* @type {MatterJS.Bounds}
333+
* @type {MatterJS.BoundsFactory}
334334
* @since 3.22.0
335335
*/
336336
this.bounds = Bounds;
@@ -343,7 +343,7 @@ var MatterPhysics = new Class({
343343
* To use this module you also need the SVGPathSeg polyfill: https://github.com/progers/pathseg
344344
*
345345
* @name Phaser.Physics.Matter.MatterPhysics#svg
346-
* @type {MatterJS.Svg}
346+
* @type {MatterJS.SvgFactory}
347347
* @since 3.22.0
348348
*/
349349
this.svg = Svg;
@@ -356,7 +356,7 @@ var MatterPhysics = new Class({
356356
* A `Matter.Vector` object is of the form `{ x: 0, y: 0 }`.
357357
*
358358
* @name Phaser.Physics.Matter.MatterPhysics#vector
359-
* @type {MatterJS.Vector}
359+
* @type {MatterJS.VectorFactory}
360360
* @since 3.22.0
361361
*/
362362
this.vector = Vector;
@@ -369,7 +369,7 @@ var MatterPhysics = new Class({
369369
* A `Matter.Body` maintains a set of vertices to represent the shape of the object (its convex hull).
370370
*
371371
* @name Phaser.Physics.Matter.MatterPhysics#vertices
372-
* @type {MatterJS.Vertices}
372+
* @type {MatterJS.VerticesFactory}
373373
* @since 3.22.0
374374
*/
375375
this.vertices = Vertices;
@@ -382,7 +382,7 @@ var MatterPhysics = new Class({
382382
* A `Matter.Body` maintains a set of vertices to represent the shape of the object (its convex hull).
383383
*
384384
* @name Phaser.Physics.Matter.MatterPhysics#verts
385-
* @type {MatterJS.Vertices}
385+
* @type {MatterJS.VerticesFactory}
386386
* @since 3.14.0
387387
*/
388388
this.verts = Vertices;

0 commit comments

Comments
 (0)