docs: updated doc comment

pull/119/head
alestiago 4 years ago
parent 1681c273e1
commit 2f8f3e9145

@ -134,9 +134,9 @@ abstract class DashNestBumper extends BodyComponent<PinballGame>
await super.onLoad();
await _loadSprites();
// TODO(alestiago): Look into using onNewState instead.
// onNewState(gameRef.read<GameState>());
// Exception: build context is not available yet
// TODO(erickzanardo): Look into using onNewState instead.
// Currently doing: onNewState(gameRef.read<GameState>()) will throw an
// `Exception: build context is not available yet`
deactivate();
await add(_spriteComponent);
}

Loading…
Cancel
Save