11 lines
223 B
GDScript
11 lines
223 B
GDScript
class_name Controller
|
|
extends Node
|
|
|
|
signal direction_changed(direction: Vector3)
|
|
signal jumped
|
|
signal used_skill(slot: int)
|
|
|
|
func control(character: Character):
|
|
character.controller = self
|
|
character.controlled.emit(self)
|