mirror of
https://github.com/photonstorm/phaser
synced 2024-12-11 22:03:09 +00:00
Merge pull request #1148 from rhmoller/dev
p2.createContactMaterial() options parameter should be object
This commit is contained in:
commit
daf7902aa9
1 changed files with 1 additions and 1 deletions
2
build/phaser.d.ts
vendored
2
build/phaser.d.ts
vendored
|
@ -3404,7 +3404,7 @@ declare module Phaser {
|
|||
createBody(x: number, y: number, mass: number, addToWorld?: boolean, options?: Object, data?: Object): Phaser.Physics.P2.Body;
|
||||
createCollisionGroup(group?: Phaser.Group): Phaser.Physics.P2.CollisionGroup;
|
||||
createCollisionGroup(group?: Phaser.Sprite): Phaser.Physics.P2.CollisionGroup;
|
||||
createContactMaterial(materialA: Phaser.Physics.P2.Material, materialB: Phaser.Physics.P2.Material, options?: number): Phaser.Physics.P2.ContactMaterial;
|
||||
createContactMaterial(materialA: Phaser.Physics.P2.Material, materialB: Phaser.Physics.P2.Material, options?: object): Phaser.Physics.P2.ContactMaterial;
|
||||
createDistanceConstraint(bodyA: any, bodyB: any, distance: number, maxForce?: number): Phaser.Physics.P2.DistanceConstraint;
|
||||
createGearConstraint(bodyA: any, bodyB: any, angle?: number, ratio?: number): Phaser.Physics.P2.GearConstraint;
|
||||
createLockConstraint(bodyA: any, bodyB: any, offset: Float32Array, angle?: number, maxForce?: number): Phaser.Physics.P2.LockConstraint;
|
||||
|
|
Loading…
Reference in a new issue