fix: made Ball a bullet (#483)

Co-authored-by: Tom Arra <tarra3@gmail.com>
main
Alejandro Santiago 2 years ago committed by GitHub
parent b21e7f9e5f
commit 0c21af0e2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -63,6 +63,7 @@ class Ball extends BodyComponent with Layered, InitialPosition, ZIndex {
position: initialPosition,
type: BodyType.dynamic,
userData: this,
bullet: true,
);
return world.createBody(bodyDef)..createFixtureFromShape(shape, 1);

Loading…
Cancel
Save