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

11 lines
166 B
GDScript

extends Command
class_name PassCommand
func _init() -> void:
commandLabel = "Pass"
func execute():
print("Player passed.")
COMMAND_PROCESSED.emit(commandLabel)