BonfireTiledWidget constructor

const BonfireTiledWidget({
  1. Key? key,
  2. required TiledWorldMap map,
  3. JoystickController? joystick,
  4. Player? player,
  5. GameInterface? interface,
  6. GameBackground? background,
  7. bool constructionMode = false,
  8. bool showCollisionArea = false,
  9. bool showFPS = false,
  10. GameController? gameController,
  11. Color? constructionModeColor,
  12. Color? collisionAreaColor,
  13. Color? lightingColorGame,
  14. Widget? progress,
  15. CameraConfig? cameraConfig,
  16. AnimatedSwitcherTransitionBuilder transitionBuilder = AnimatedSwitcher.defaultTransitionBuilder,
  17. Duration? progressTransitionDuration,
  18. GameColorFilter? colorFilter,
  19. List<GameComponent>? components,
  20. Map<String, OverlayWidgetBuilder<BonfireGame>>? overlayBuilderMap,
  21. List<String>? initialActiveOverlays,
  22. TapInGame? onTapDown,
  23. TapInGame? onTapUp,
  24. ValueChanged<BonfireGame>? onReady,
})

Implementation

const BonfireTiledWidget({
  Key? key,
  required this.map,
  this.joystick,
  this.player,
  this.interface,
  this.background,
  this.constructionMode = false,
  this.showCollisionArea = false,
  this.showFPS = false,
  this.gameController,
  this.constructionModeColor,
  this.collisionAreaColor,
  this.lightingColorGame,
  this.progress,
  this.cameraConfig,
  this.transitionBuilder = AnimatedSwitcher.defaultTransitionBuilder,
  this.progressTransitionDuration,
  this.colorFilter,
  this.components,
  this.overlayBuilderMap,
  this.initialActiveOverlays,
  this.onTapDown,
  this.onTapUp,
  this.onReady,
}) : super(key: key);