started research skills
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
extends Node
|
||||
class_name Researcher
|
||||
|
||||
func interact() -> bool:
|
||||
const RESEARCH_MENU = preload("res://scene/research_menu.tscn")
|
||||
|
||||
func interact(on_interaction_finished: Callable) -> bool:
|
||||
var build_menu = RESEARCH_MENU.instantiate()
|
||||
build_menu.research.connect(on_interaction_finished)
|
||||
add_sibling(build_menu)
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user