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 super.onLoad();
await _loadSprites(); await _loadSprites();
// TODO(alestiago): Look into using onNewState instead. // TODO(erickzanardo): Look into using onNewState instead.
// onNewState(gameRef.read<GameState>()); // Currently doing: onNewState(gameRef.read<GameState>()) will throw an
// Exception: build context is not available yet // `Exception: build context is not available yet`
deactivate(); deactivate();
await add(_spriteComponent); await add(_spriteComponent);
} }

Loading…
Cancel
Save