mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 19:12:31 +08:00
refactor: Remove Loadable, optional onLoads (#1333)
This commit is contained in:
@ -12,7 +12,6 @@ class HoverablesExample extends FlameGame with HasHoverables, TapDetector {
|
||||
|
||||
@override
|
||||
Future<void> onLoad() async {
|
||||
await super.onLoad();
|
||||
add(HoverableSquare(Vector2(200, 500)));
|
||||
add(HoverableSquare(Vector2(700, 300)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user