Formatting

This commit is contained in:
Lukas Klingsbo
2020-09-24 23:47:47 +02:00
parent 1f4db84c0d
commit 436e5ecc8a
3 changed files with 9 additions and 10 deletions

View File

@ -58,9 +58,10 @@ class MyGame extends BaseGame {
final ghostAnimation = spriteSheet.createAnimation(1, stepTime: 0.1, to: 7);
final spriteSize = Vector2(80, 90);
final vampireComponent = SpriteAnimationComponent(spriteSize, vampireAnimation)
..x = 150
..y = 100;
final vampireComponent =
SpriteAnimationComponent(spriteSize, vampireAnimation)
..x = 150
..y = 100;
final ghostComponent = SpriteAnimationComponent(spriteSize, ghostAnimation)
..x = 150