11 lines
223 B
GDScript3
Raw Normal View History

2024-02-07 22:04:19 +00:00
class_name Controller
2024-02-15 15:28:27 +00:00
extends Node
signal direction_changed(direction: Vector3)
signal jumped
2024-02-24 14:30:41 +00:00
signal used_skill(slot: int)
func control(character: Character):
character.controller = self
character.controlled.emit(self)