Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collision callback #8

Closed
wants to merge 3 commits into from
Closed

Collision callback #8

wants to merge 3 commits into from

Conversation

jchene
Copy link

@jchene jchene commented Jul 20, 2023

Replaced CollisionCallback with ArcadePhysicsCallback/ArcadeProcessCallback in Factory Class as mentioned in Phaser 3 documentation https://photonstorm.github.io/phaser3-docs/Phaser.Physics.Arcade.Factory.html#collider__anchor.
Changed ArcadeProcessCallback type from
(body1, body2) => (body1, body2) => void
to
(body1, body2) => void

@jchene jchene closed this Jul 20, 2023
@jchene
Copy link
Author

jchene commented Jul 20, 2023

Made a little mistake in the pr, gonna do a new one tomorrow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants