BonfireWidget constructor
const
BonfireWidget({
- Key? key,
- required GameMap map,
- List<
PlayerController> ? playerControllers, - Player? player,
- GameInterface? interface,
- GameBackground? background,
- bool debugMode = false,
- bool showCollisionArea = false,
- Color? collisionAreaColor,
- Color? lightingColorGame,
- Color? backgroundColor,
- GameColorFilter? colorFilter,
- List<
GameComponent> ? hudComponents, - List<
GameComponent> ? components, - Map<
String, OverlayWidgetBuilder< ? overlayBuilderMap,BonfireGame> > - List<
String> ? initialActiveOverlays, - CameraConfig? cameraConfig,
- ValueChanged<
BonfireGameInterface> ? onReady, - FocusNode? focusNode,
- bool autofocus = true,
- MouseCursor? mouseCursor,
- VoidCallback? onDispose,
- List<
Force2D> ? globalForces,
Implementation
const BonfireWidget({
Key? key,
required this.map,
this.playerControllers,
this.player,
this.interface,
this.background,
this.debugMode = false,
this.showCollisionArea = false,
this.collisionAreaColor,
this.lightingColorGame,
this.backgroundColor,
this.colorFilter,
this.hudComponents,
this.components,
this.overlayBuilderMap,
this.initialActiveOverlays,
this.cameraConfig,
this.onReady,
this.focusNode,
this.autofocus = true,
this.mouseCursor,
this.onDispose,
this.globalForces,
}) : super(key: key);