From c090bf86690f64ed179a41b071d2ce224f66d04b Mon Sep 17 00:00:00 2001 From: alestiago Date: Wed, 27 Apr 2022 09:29:48 +0100 Subject: [PATCH] docs: rephrased ContactBehaviour doc comment --- packages/pinball_flame/lib/src/contact_behavior.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/pinball_flame/lib/src/contact_behavior.dart b/packages/pinball_flame/lib/src/contact_behavior.dart index eade98f0..72560f05 100644 --- a/packages/pinball_flame/lib/src/contact_behavior.dart +++ b/packages/pinball_flame/lib/src/contact_behavior.dart @@ -7,8 +7,9 @@ import 'package:pinball_flame/pinball_flame.dart'; /// /// This is a convenience class for adding a [ContactCallbacks] to the parent. /// In constract with just adding a [ContactCallbacks] to the parent's userData, -/// this class respects the previous [ContactCallbacks], if any, in the parent. -/// Hence, it avoids overriding any previous [ContactCallbacks] in the parent. +/// this class respects the previous [ContactCallbacks] in the parent's +/// userData, if any. Hence, it avoids overriding any previous +/// [ContactCallbacks] in the parent. /// /// It does so by grouping the [ContactCallbacks] in a [_ContactCallbacksGroup], /// and resetting the parent's userData accordingly.