match_magic/lib/game/sprite_loader.dart

14 lines
461 B
Dart

// import 'package:flame/components.dart';
import 'package:flame/flame.dart';
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');
}