Door constructor
Door({
- required String roomId,
- Padlock? padlock,
- String? id,
- InteractableRenderSettings? renderSettings,
- Action onTap = _defaultOnTap,
- 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,
);