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

11 lines
299 B
GDScript

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
func handle_hover(area: Draggable):
prints("Playable[base].handle_hover", area, area.name)
pass