BonfireWidget constructor
const
BonfireWidget({
- Key? key,
- required MapGame map,
- JoystickController? joystick,
- Player? player,
- GameInterface? interface,
- List<
Enemy> ? enemies, - List<
GameDecoration> ? decorations, - GameController? gameController,
- GameBackground? background,
- bool constructionMode = false,
- bool showCollisionArea = false,
- bool showFPS = false,
- Color? constructionModeColor,
- Color? collisionAreaColor,
- Color? lightingColorGame,
- GameColorFilter? colorFilter,
- List<
GameComponent> ? components, - Map<
String, OverlayWidgetBuilder< ? overlayBuilderMap,BonfireGame> > - List<
String> ? initialActiveOverlays, - CameraConfig? cameraConfig,
- TapInGame? onTapDown,
- TapInGame? onTapUp,
- ValueChanged<
BonfireGame> ? onReady,
Implementation
const BonfireWidget({
Key? key,
required this.map,
this.joystick,
this.player,
this.interface,
this.enemies,
this.decorations,
this.gameController,
this.background,
this.constructionMode = false,
this.showCollisionArea = false,
this.showFPS = false,
this.constructionModeColor,
this.collisionAreaColor,
this.lightingColorGame,
this.colorFilter,
this.components,
this.overlayBuilderMap,
this.initialActiveOverlays,
this.cameraConfig,
this.onTapDown,
this.onTapUp,
this.onReady,
}) : super(key: key);