From 1e79538026f86efa3af682f9e3143ef60bd7bce0 Mon Sep 17 00:00:00 2001 From: alestiago Date: Fri, 29 Apr 2022 23:30:21 +0100 Subject: [PATCH] docs: improved phrasing --- packages/pinball_flame/lib/src/contact_behavior.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/pinball_flame/lib/src/contact_behavior.dart b/packages/pinball_flame/lib/src/contact_behavior.dart index 3a4314d7..63478642 100644 --- a/packages/pinball_flame/lib/src/contact_behavior.dart +++ b/packages/pinball_flame/lib/src/contact_behavior.dart @@ -5,7 +5,7 @@ import 'package:pinball_flame/pinball_flame.dart'; /// Appends a new [ContactCallbacks] to the parent. /// /// This is a convenience class for adding a [ContactCallbacks] to the parent. -/// In constract with just assigning a [ContactCallbacks] to a userData, this +/// In constrast with just assigning a [ContactCallbacks] to a userData, this /// class respects the previous userData. /// /// It does so by grouping the userData in a [_UserData], and resetting the @@ -20,8 +20,8 @@ class ContactBehavior extends Component /// /// Fixtures are identifiable by their userData. /// - /// If no specific fixtures are specified, the [ContactCallbacks] is applied - /// to the entire body, hence all fixtures are considered. + /// If no fixtures are specified, the [ContactCallbacks] is applied to the + /// entire body, hence all fixtures are considered. void applyTo(Iterable userData) => _fixtureUserDatas.addAll(userData); @override