BonfireTiledWidget constructor
const
BonfireTiledWidget({
- Key? key,
- required TiledWorldMap map,
- JoystickController? joystick,
- Player? player,
- GameInterface? interface,
- GameBackground? background,
- bool constructionMode = false,
- bool showCollisionArea = false,
- bool showFPS = false,
- GameController? gameController,
- Color? constructionModeColor,
- Color? collisionAreaColor,
- Color? lightingColorGame,
- Widget? progress,
- CameraConfig? cameraConfig,
- AnimatedSwitcherTransitionBuilder transitionBuilder = AnimatedSwitcher.defaultTransitionBuilder,
- Duration? progressTransitionDuration,
- GameColorFilter? colorFilter,
- List<
GameComponent> ? components, - Map<
String, OverlayWidgetBuilder< ? overlayBuilderMap,BonfireGame> > - List<
String> ? initialActiveOverlays, - TapInGame? onTapDown,
- TapInGame? onTapUp,
- 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);