From 67ff5de04f409b2d084a9518d658b83b64510506 Mon Sep 17 00:00:00 2001 From: alestiago Date: Wed, 30 Mar 2022 13:12:43 +0100 Subject: [PATCH] docs: included TODO comment --- lib/game/components/flutter_forest.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/game/components/flutter_forest.dart b/lib/game/components/flutter_forest.dart index 030533e9..14a7d869 100644 --- a/lib/game/components/flutter_forest.dart +++ b/lib/game/components/flutter_forest.dart @@ -134,6 +134,9 @@ abstract class DashNestBumper extends BodyComponent await super.onLoad(); await _loadSprites(); + // TODO(alestiago): Look into using onNewState instead. + // onNewState(gameRef.read()); + // Exception: build context is not available yet deactivate(); await add(_spriteComponent); }