feat: included new assets

pull/205/head
alestiago 3 years ago
parent 12d20b8dbc
commit 705f2c796f

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

@ -21,17 +21,13 @@ class $AssetsImagesGen {
$AssetsImagesDashGen get dash => const $AssetsImagesDashGen();
$AssetsImagesDinoGen get dino => const $AssetsImagesDinoGen();
$AssetsImagesFlipperGen get flipper => const $AssetsImagesFlipperGen();
/// File path: assets/images/flutter_sign_post.png
AssetGenImage get flutterSignPost =>
const AssetGenImage('assets/images/flutter_sign_post.png');
$AssetsImagesGoogleWordGen get googleWord =>
const $AssetsImagesGoogleWordGen();
$AssetsImagesKickerGen get kicker => const $AssetsImagesKickerGen();
$AssetsImagesLaunchRampGen get launchRamp =>
const $AssetsImagesLaunchRampGen();
$AssetsImagesPlungerGen get plunger => const $AssetsImagesPlungerGen();
$AssetsImagesSignPostGen get signPost => const $AssetsImagesSignPostGen();
$AssetsImagesSlingshotGen get slingshot => const $AssetsImagesSlingshotGen();
$AssetsImagesSpaceshipGen get spaceship => const $AssetsImagesSpaceshipGen();
$AssetsImagesSparkyGen get sparky => const $AssetsImagesSparkyGen();
@ -209,6 +205,26 @@ class $AssetsImagesPlungerGen {
const AssetGenImage('assets/images/plunger/rocket.png');
}
class $AssetsImagesSignPostGen {
const $AssetsImagesSignPostGen();
/// File path: assets/images/sign_post/active1.png
AssetGenImage get active1 =>
const AssetGenImage('assets/images/sign_post/active1.png');
/// File path: assets/images/sign_post/active2.png
AssetGenImage get active2 =>
const AssetGenImage('assets/images/sign_post/active2.png');
/// File path: assets/images/sign_post/active3.png
AssetGenImage get active3 =>
const AssetGenImage('assets/images/sign_post/active3.png');
/// File path: assets/images/sign_post/inactive.png
AssetGenImage get inactive =>
const AssetGenImage('assets/images/sign_post/inactive.png');
}
class $AssetsImagesSlingshotGen {
const $AssetsImagesSlingshotGen();

@ -33,7 +33,7 @@ class _FlutterSignPostSpriteComponent extends SpriteComponent with HasGameRef {
await super.onLoad();
final sprite = await gameRef.loadSprite(
Assets.images.flutterSignPost.keyName,
Assets.images.signPost.inactive.keyName,
);
this.sprite = sprite;
size = sprite.originalSize / 10;

@ -64,6 +64,7 @@ flutter:
- assets/images/sparky/bumper/c/
- assets/images/backboard/
- assets/images/google_word/
- assets/images/sign_post/
flutter_gen:
line_length: 80

Loading…
Cancel
Save