Update lib/game/components/flipper.dart

Co-authored-by: Alejandro Santiago <dev@alestiago.com>
pull/26/head
Erick 2 years ago committed by GitHub
parent 42bcd3c012
commit 6ed0203054
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -79,7 +79,7 @@ class Flipper extends PositionBodyComponent with KeyboardHandler {
final sprite = await gameRef.loadSprite(spritePath);
positionComponent = SpriteComponent(
sprite: sprite,
size: Vector2(width, height),
size: size,
);
if (side == BoardSide.right) {

Loading…
Cancel
Save