match_magic/lib/game/sprite_loader.dart

14 lines
461 B
Dart
Raw Permalink Normal View History

// import 'package:flame/components.dart';
import 'package:flame/flame.dart';
2024-08-05 08:04:54 +00:00
Future<void> loadImages() async {
await Flame.images.load('crystal1.png');
await Flame.images.load('crystal2.png');
await Flame.images.load('crystal3.png');
await Flame.images.load('crystal4.png');
await Flame.images.load('crystal5.png');
await Flame.images.load('crystal6.png');
await Flame.images.load('crystal7.png');
await Flame.images.load('magic_cube.png');
2024-08-05 08:04:54 +00:00
}