docs: rephrased ContactBehaviour doc comment

pull/234/head
alestiago 3 years ago
parent 77907a922b
commit c090bf8669

@ -7,8 +7,9 @@ import 'package:pinball_flame/pinball_flame.dart';
/// ///
/// This is a convenience class for adding a [ContactCallbacks] to the parent. /// This is a convenience class for adding a [ContactCallbacks] to the parent.
/// In constract with just adding a [ContactCallbacks] to the parent's userData, /// In constract with just adding a [ContactCallbacks] to the parent's userData,
/// this class respects the previous [ContactCallbacks], if any, in the parent. /// this class respects the previous [ContactCallbacks] in the parent's
/// Hence, it avoids overriding any previous [ContactCallbacks] in the parent. /// userData, if any. Hence, it avoids overriding any previous
/// [ContactCallbacks] in the parent.
/// ///
/// It does so by grouping the [ContactCallbacks] in a [_ContactCallbacksGroup], /// It does so by grouping the [ContactCallbacks] in a [_ContactCallbacksGroup],
/// and resetting the parent's userData accordingly. /// and resetting the parent's userData accordingly.

Loading…
Cancel
Save