yandeu / arcade-physics

Use Arcade Physics without Phaser.
GNU Lesser General Public License v3.0
49 stars 3 forks source link

Collider callbacks are now ArcadePhysicsCallback #9

Open jchene opened 1 year ago

jchene commented 1 year ago

Collider callback are now ArcadePhysicsCallbacks and collider process callbacks are now ArcadeProcessCallbacks as mentioned in Phaser 3 documentation. (documentation below) https://photonstorm.github.io/phaser3-docs/Phaser.Physics.Arcade.Collider.html#Collider__anchor https://photonstorm.github.io/phaser3-docs/Phaser.Physics.Arcade.World.html#addCollider__anchor https://photonstorm.github.io/phaser3-docs/Phaser.Physics.Arcade.Factory.html#collider__anchor Simplified type of ArcadePhysicsCallback from (body1, body2) => (body1, body2) => void to (body1, body2) => void (documentation below) https://photonstorm.github.io/phaser3-docs/global.html#ArcadePhysicsCallback