Door constructor

Door({
  1. required String roomId,
  2. Padlock? padlock,
  3. String? id,
  4. InteractableRenderSettings? renderSettings,
  5. Action onTap = _defaultOnTap,
  6. Action<InteractableTooltip> onHover = _defaultOnHover,
})

Creates a new Door instance.

Implementation

Door({
  required this.roomId,
  super.padlock,
  String? id,
  super.renderSettings,
  super.onTap,
  super.onHover,
}) : super(
        id: id ?? roomId,
      );