fixes and words

pull/399/head
Tom Arra 3 years ago
parent 1c75d323a2
commit 2f93e289b6

@ -18,6 +18,7 @@
"goldens",
"leaderboard",
"loadables",
"mixins",
"mocktail",
"multiball",
"multiballs",
@ -27,8 +28,10 @@
"rects",
"rrect",
"serializable",
"sparky's",
"theming",
"unawaited",
"unfocus",
"unlayered",
"vsync"
],

@ -77,7 +77,7 @@ class InitialsInputDisplay extends Component with HasGameRef {
);
}
/// Returns the current inputed initials
/// Returns the current entered initials
String get initials => children
.whereType<InitialsLetterPrompt>()
.map((prompt) => prompt.char)

@ -12,7 +12,7 @@ class BumpingBehavior extends ContactBehavior {
/// Determines how strong the bump is.
final double _strength;
/// This is used to recoginze the current state of a contact manifold in world
/// This is used to recognize the current state of a contact manifold in world
/// coordinates.
@visibleForTesting
final WorldManifold worldManifold = WorldManifold();

@ -40,7 +40,7 @@ class _FlipperAnchor extends JointAnchor {
}
/// {@template flipper_anchor_revolute_joint_def}
/// Hinges one end of [Flipper] to a [_FlipperAnchor] to achieve a potivoting
/// Hinges one end of [Flipper] to a [_FlipperAnchor] to achieve a pivoting
/// motion.
/// {@endtemplate}
class _FlipperAnchorRevoluteJointDef extends RevoluteJointDef {

@ -32,7 +32,7 @@ void main() {
});
flameTester.testGameWidget(
'the bump is greater when the strengh is greater',
'the bump is greater when the strength is greater',
setUp: (game, tester) async {
final component1 = _TestBodyComponent();
final behavior1 = BumpingBehavior(strength: 1)

@ -67,7 +67,7 @@ void main() {
},
);
flameTester.test('adds a FlapperSpiningBehavior to FlapperEntrance',
flameTester.test('adds a FlapperSpinningBehavior to FlapperEntrance',
(game) async {
final flapper = Flapper();
await game.ensureAdd(flapper);

@ -329,7 +329,7 @@ void main() {
);
flameTester.test(
'connected body collison enabled',
'connected body collision enabled',
(game) async {
await game.ensureAdd(plunger);
await game.ensureAdd(anchor);

@ -12,7 +12,7 @@ typedef PaintFunction = void Function(Paint);
/// {@template canvas_component}
/// Allows listening before the rendering of [Sprite]s.
///
/// The existance of this class is to hack around the fact that Flame doesn't
/// The existence of this class is to hack around the fact that Flame doesn't
/// provide a global way to modify the default [Paint] before rendering a
/// [Sprite].
/// {@endtemplate}

@ -50,7 +50,7 @@ void main() {
);
flameTester.testGameWidget(
'calls onSpritePainted when paiting a sprite',
'calls onSpritePainted when painting a sprite',
setUp: (game, tester) async {
final spriteComponent = _TestSpriteComponent();

@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
import 'package:pinball_ui/pinball_ui.dart';
/// {@template crt_background}
/// [BoxDecoration] that provides a CRT-like background efffect.
/// [BoxDecoration] that provides a CRT-like background effect.
/// {@endtemplate}
class CrtBackground extends BoxDecoration {
/// {@macro crt_background}

Loading…
Cancel
Save