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