legacy-of-the-ancient-questor/scripts/game/commands/SpeakCommand.gd

12 lines
175 B
GDScript

extends Command
class_name SpeakCommand
func _init():
commandLabel = "Speak"
func execute():
CommandDispatcher.PLAYER_SPEAK.emit()
COMMAND_PROCESSED.emit(commandLabel)