import 'package:flame/components.dart'; class SpriteLoader { static Future> loadCrystalSprites() async { List sprites = []; for (int i = 1; i <= 7; i++) { sprites.add(await Sprite.load('crystal$i.png')); } return sprites; } static Future loadMagicCubeSprite() async { return Sprite.load('magic_cube.png'); } }