frame-of-mind/src/logic-scenes/playable.gd

11 lines
299 B
GDScript3
Raw Normal View History

extends Control
class_name Playable
## Awaitable that encapsulates the core interaction with this Playable
func play() -> void:
await get_tree().process_frame # Dummy wait so this is a coroutine
2026-01-18 09:48:03 +00:00
func handle_hover(area: Draggable):
prints("Playable[base].handle_hover", area, area.name)
2026-01-18 16:32:31 +00:00
pass