mirror of
https://github.com/flame-engine/flame.git
synced 2025-10-31 00:48:47 +08:00
refactor: Remove Loadable, optional onLoads (#1333)
This commit is contained in:
@ -17,7 +17,6 @@ class AdvancedParallaxExample extends FlameGame {
|
||||
|
||||
@override
|
||||
Future<void> onLoad() async {
|
||||
await super.onLoad();
|
||||
final layers = _layersMeta.entries.map(
|
||||
(e) => loadParallaxLayer(
|
||||
ParallaxImageData(e.key),
|
||||
|
||||
Reference in New Issue
Block a user