Clue constructor

Clue({
  1. required String id,
  2. InteractableRenderSettings? renderSettings,
  3. Action<InteractableTooltip> onHover = _defaultOnHover,
  4. Padlock? padlock,
  5. String? keyId,
  6. Action? onCantUnlock,
  7. Action? onFound,
  8. bool removeAfterFound = false,
  9. InteractableTooltip? removedTooltip,
})

Creates a new Clue instance.

Implementation

Clue({
  required super.id,
  super.renderSettings,
  super.onHover,
  super.padlock,
  this.keyId,
  this.onCantUnlock,
  this.onFound,
  this.removeAfterFound = false,
  this.removedTooltip,
});