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:
@ -20,7 +20,6 @@ class TimerExample extends FlameGame with TapDetector {
|
||||
|
||||
@override
|
||||
Future<void> onLoad() async {
|
||||
await super.onLoad();
|
||||
countdown = Timer(5);
|
||||
interval = Timer(
|
||||
1,
|
||||
|
||||
Reference in New Issue
Block a user