mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 10:38:17 +08:00
refactor: Remove Loadable, optional onLoads (#1333)
This commit is contained in:
@ -42,7 +42,6 @@ class BasicAnimationsExample extends FlameGame with TapDetector {
|
||||
|
||||
@override
|
||||
Future<void> onLoad() async {
|
||||
await super.onLoad();
|
||||
creature = await images.load('animations/creature.png');
|
||||
|
||||
final animation = await loadSpriteAnimation(
|
||||
|
||||
Reference in New Issue
Block a user