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 BasicParallaxExample extends FlameGame {
|
||||
|
||||
@override
|
||||
Future<void> onLoad() async {
|
||||
await super.onLoad();
|
||||
final parallax = await loadParallaxComponent(
|
||||
_imageNames,
|
||||
baseVelocity: Vector2(20, 0),
|
||||
|
||||
Reference in New Issue
Block a user