Beginning of lesson 33. House polygon working and we are able to speak with NPC at world map, but not in starter town.
This commit is contained in:
11
scripts/game/commands/SpeakCommand.gd
Normal file
11
scripts/game/commands/SpeakCommand.gd
Normal file
@@ -0,0 +1,11 @@
|
||||
extends Command
|
||||
|
||||
class_name SpeakCommand
|
||||
|
||||
func _init():
|
||||
commandLabel = "Speak"
|
||||
|
||||
|
||||
func execute():
|
||||
CommandDispatcher.PLAYER_SPEAK.emit()
|
||||
COMMAND_PROCESSED.emit(commandLabel)
|
||||
Reference in New Issue
Block a user