Skip to content

Commit

Permalink
feat: Optional Camera argument in FlameBlocGame (#1331)
Browse files Browse the repository at this point in the history
  • Loading branch information
abgutierrez committed Jan 22, 2022
1 parent 0748336 commit bcb27f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/flame_bloc/lib/src/flame_bloc_game.dart
Expand Up @@ -69,6 +69,9 @@ mixin BlocComponent<B extends BlocBase<S>, S> on Component {
///
/// {@endtemplate}
class FlameBlocGame extends FlameGame {
///FlameBlocGame contructor with an optional [Camera] as a parameter to FlameGame
FlameBlocGame({Camera? camera}) : super(camera: camera);

@visibleForTesting

/// Contains a list of all of the [BlocComponent]s with an active
Expand Down

0 comments on commit bcb27f7

Please sign in to comment.