End of lesson 18 The command processor, Chapter 5
This commit is contained in:
@@ -8,7 +8,5 @@ class_name GameScreen
|
||||
func _ready() -> void:
|
||||
map.add_child(load(GameManager.currentMapPath).instantiate())
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
func _on_pass_button_pressed() -> void:
|
||||
CommandDispatcher.PROCESS_COMMAND.emit(PassCommand.new())
|
||||
|
||||
Reference in New Issue
Block a user