docs: fixed doc comment typo

pull/15/head
alestiago 4 years ago
parent 5e4c83bcb6
commit 34d205b7b8

@ -75,7 +75,7 @@ class Flipper extends BodyComponent with KeyboardHandler {
/// [onKeyEvent] method listens to when one of these keys is pressed. /// [onKeyEvent] method listens to when one of these keys is pressed.
final List<LogicalKeyboardKey> _keys; final List<LogicalKeyboardKey> _keys;
/// Applies downard linear velocity to the [Flipper] to move it down. /// Applies downward linear velocity to the [Flipper] to move it down.
void _moveDown() { void _moveDown() {
body.linearVelocity = Vector2(0, -_speed); body.linearVelocity = Vector2(0, -_speed);
} }

Loading…
Cancel
Save